diff options
author | sigger <sigger@ampache> | 2006-02-02 04:34:15 +0000 |
---|---|---|
committer | sigger <sigger@ampache> | 2006-02-02 04:34:15 +0000 |
commit | 1e7684528e28aea6f30e31fa3f674d61e282df30 (patch) | |
tree | d43678e0104f8a299663779f0c9d23799d885bc3 /index.php | |
parent | 27847d72ca91c107a1f74cb1e072e58c9cbe7b8f (diff) | |
download | ampache-1e7684528e28aea6f30e31fa3f674d61e282df30.tar.gz ampache-1e7684528e28aea6f30e31fa3f674d61e282df30.tar.bz2 ampache-1e7684528e28aea6f30e31fa3f674d61e282df30.zip |
mpd mini-control for all pages! final ajax tweak? etc
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -28,12 +28,14 @@ require_once("modules/init.php"); -/* We need to attempt to init the mpd object */ +/* We need to attempt to init the mpd object if ($user->prefs['play_type']=='mpd') { $myMpd = init_mpd(); } +* Happening in header.inc now +*/ show_template('header'); -if (conf('refresh_limit') > 0) { show_template('javascript_refresh'); } +if (conf('refresh_limit') > 0) { require_once ("templates/javascript_refresh.inc"); } $action = scrub_in($_REQUEST['action']); ?> @@ -53,7 +55,8 @@ $action = scrub_in($_REQUEST['action']); </td> <td valign="top" align="left"> <!-- sigger: why is it a problem to set width=50% --> <?php - if ($user->prefs['play_type'] == 'mpd' && !conf('localplay_menu')) { + if (false) // $user->prefs['play_type'] == 'mpd' && !conf('localplay_menu')) +{ show_mpd_control(); } else { |