summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorsigger <sigger@ampache>2006-01-22 21:43:28 +0000
committersigger <sigger@ampache>2006-01-22 21:43:28 +0000
commit84c27d57a77e4f1a37c885f45e8028af60b3f5a1 (patch)
tree65ccdf21a34a384d684d515fcb9a7034cd476873 /index.php
parent902ac7dcde91a65380a5b3c36eb8cac7857a14e0 (diff)
downloadampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.tar.gz
ampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.tar.bz2
ampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.zip
fix minor mpd_control and formatting stuff
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 471b7596..021ac610 100644
--- a/index.php
+++ b/index.php
@@ -29,7 +29,7 @@
require_once("modules/init.php");
/* We need to attempt to init the mpd object */
-if ($user->prefs['play_type']) { $myMpd = init_mpd(); }
+if ($user->prefs['play_type']=='mpd') { $myMpd = init_mpd(); }
show_template('header');
@@ -48,10 +48,10 @@ $action = scrub_in($_REQUEST['action']);
<td valign="top">
<table border="0"><!-- Left table -->
<tr>
- <td valign="top" align="right" width="50%">
+ <td valign="top" align="right"> <!-- sigger: why is it a problem to set width=50% -->
<?php show_local_catalog_info(); ?>
</td>
- <td valign="top" align="left" width="50%">
+ <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')) {
show_mpd_control();