diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-19 23:11:57 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-19 23:11:57 +0000 |
commit | 5296a8d351f94a04d19791e4c9d3b73c5cb82ac6 (patch) | |
tree | b26f7d6ec135270353ec1feebc304e49c2311a14 /lib/class/browse.class.php | |
parent | ffb43ad33ec6198df04cf188a205f236863d1dd3 (diff) | |
download | ampache-5296a8d351f94a04d19791e4c9d3b73c5cb82ac6.tar.gz ampache-5296a8d351f94a04d19791e4c9d3b73c5cb82ac6.tar.bz2 ampache-5296a8d351f94a04d19791e4c9d3b73c5cb82ac6.zip |
fixed issue with xmlapi when no limit provided, fixed now playing refresh, fixed single item update (Thx alex2008) added some more stuff for managing shoutbox stuff, started work on implementation of CoFs system added untested search method on xmlapi
Diffstat (limited to 'lib/class/browse.class.php')
-rw-r--r-- | lib/class/browse.class.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index c9f43676..03ce742d 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -179,6 +179,7 @@ class Browse { case 'album': case 'artist': case 'genre': + case 'shoutbox': case 'live_stream': $_SESSION['browse']['type'] = $type; // Resets the simple browse @@ -217,6 +218,9 @@ class Browse { case 'playlist': $valid_array = array('name','user'); break; + case 'shoutbox': + $valud_array = array('date','user','sticky'); + break; case 'live_stream': $valid_array = array('name','call_sign','frequency'); break; @@ -385,6 +389,9 @@ class Browse { case 'flagged': $sql = "SELECT `flagged`.`id` FROM `flagged` "; break; + case 'shoutbox': + $sql - "SELECT `user_shout`.`id` FROM `user_shout` "; + break; case 'playlist_song': case 'song': default: @@ -713,6 +720,11 @@ class Browse { require_once Config::get('prefix') . '/templates/show_catalogs.inc.php'; show_box_bottom(); break; + case 'shoutbox': + show_box_top(_('Shoutbox Records'),$class); + require_once Config::get('prefix') . '/templates/show_manage_shoutbox.inc.php'; + show_box_bottom(); + break; case 'flagged': show_box_top(_('Flagged Records'),$class); require_once Config::get('prefix') . '/templates/show_flagged.inc.php'; |