diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-05 01:46:01 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-08-05 01:46:01 +0000 |
commit | 0dbace41fe33a9bc2460a58be1022f11b35f4b8c (patch) | |
tree | e533d73eebe62c38c04a36df09bc7592a3983953 /localplay.php | |
parent | f3b10721ac15f9a477057d3a7cddba3b3a67b7a9 (diff) | |
download | ampache-0dbace41fe33a9bc2460a58be1022f11b35f4b8c.tar.gz ampache-0dbace41fe33a9bc2460a58be1022f11b35f4b8c.tar.bz2 ampache-0dbace41fe33a9bc2460a58be1022f11b35f4b8c.zip |
added paging to the localplay playlist, fixed some preferences issues I introduced with the form register and caching
Diffstat (limited to 'localplay.php')
-rw-r--r-- | localplay.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/localplay.php b/localplay.php index 98ff57c0..538d4d08 100644 --- a/localplay.php +++ b/localplay.php @@ -81,7 +81,10 @@ switch ($_REQUEST['action']) { // Pull the current playlist and require the template $objects = $localplay->get(); require_once Config::get('prefix') . '/templates/show_localplay_status.inc.php'; - require_once Config::get('prefix') . '/templates/show_localplay_playlist.inc.php'; + Browse::set_type('playlist_localplay'); + Browse::set_static_content(1); + Browse::save_objects($objects); + Browse::show_objects(); break; } // end switch action |