diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-08 02:27:14 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-08 02:27:14 +0000 |
commit | 9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1 (patch) | |
tree | 6d98288192c059cf3453bcca8c54c68e96a239ac /lib/class/browse.class.php | |
parent | db464555820830458e883c962f0b9482d177564b (diff) | |
download | ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.gz ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.bz2 ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.zip |
more tweaks to the democratic playlist, move the play command out front also clean up now playing on localplay status box
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r-- | lib/class/browse.class.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index 60e4a876..289f1a5d 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -38,7 +38,7 @@ class Browse { // Boolean if this is a simple browse method (use different paging code) public static $simple_browse; - // Static Content, this is defaulted to false, if set to true then wen can't + // Static Content, this is defaulted to false, if set to true then when we can't // apply any filters that would change the result set. public static $static_content = false; private static $_cache = array(); @@ -299,6 +299,7 @@ class Browse { case 'playlist_localplay': case 'shoutbox': case 'live_stream': + case 'democratic': // Set it self::$type = $type; self::load_start(); @@ -1162,6 +1163,10 @@ class Browse { require_once Config::get('prefix') . '/templates/show_videos.inc.php'; show_box_bottom(); break; + case 'democratic': + show_box_top(_('Democratic Playlist'),$class); + require_once Config::get('prefix') . '/templates/show_democratic_playlist.inc.php'; + show_box_bottom(); default: // Rien a faire break; |