diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-15 09:50:33 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-15 09:50:33 +0000 |
commit | 02a401563b7f9a5f11c8664b621850c52204d7dd (patch) | |
tree | b93a839aca0b334503d96009b9d2464bb62cef62 /templates/show_random.inc.php | |
parent | d3176c22e90e0a09b22790036f1f61fc926912c9 (diff) | |
download | ampache-02a401563b7f9a5f11c8664b621850c52204d7dd.tar.gz ampache-02a401563b7f9a5f11c8664b621850c52204d7dd.tar.bz2 ampache-02a401563b7f9a5f11c8664b621850c52204d7dd.zip |
seperated out the time into its own section on advanced random play, started working on the unplayed, still not finished, started work on highest rated as well, not working yet
Diffstat (limited to 'templates/show_random.inc.php')
-rw-r--r-- | templates/show_random.inc.php | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/templates/show_random.inc.php b/templates/show_random.inc.php index b0500643..b360d396 100644 --- a/templates/show_random.inc.php +++ b/templates/show_random.inc.php @@ -38,9 +38,24 @@ <option value="-1"><?php echo _('All'); ?></option> </select> </td> - <td rowspan="4" valign="top"><?php echo _('From genre'); ?></td> - <td rowspan="4"> - <?php show_genre_select('genre[]','','5'); ?> + <td rowspan="5" valign="top"><?php echo _('From genre'); ?></td> + <td rowspan="5"> + <?php show_genre_select('genre[]','','6'); ?> + </td> +</tr> +<tr> + <td><?php echo _('Length'); ?></td> + <td> + <select name="length"> + <option value="0"><?php echo _('Unlimited'); ?></option> + <option value="15">15 <?php echo _('minutes'); ?></option> + <option value="30">30 <?php echo _('minutes'); ?></option> + <option value="60">1 <?php echo _('hours'); ?></option> + <option value="120">2 <?php echo _('hours'); ?></option> + <option value="240">4 <?php echo _('hours'); ?></option> + <option value="480">8 <?php echo _('hours'); ?></option> + <option value="960">16 <?php echo _('hours'); ?></option> + </select> </td> </tr> <tr> @@ -51,7 +66,9 @@ <option value="unplayed"><?php echo _('Less Played'); ?></option> <option value="full_album"><?php echo _('Full Albums'); ?></option> <option value="full_artist"><?php echo _('Full Artist'); ?></option> - <option value="length"><?php echo _('Minutes'); ?></option> + <?php if (Config::get('ratings')) { ?> + <option value="high_rating"><?php echo _('Highest Rated'); ?></option> + <?php } ?> </select> </td> </tr> |