diff options
author | sigger <sigger@ampache> | 2006-01-22 21:43:28 +0000 |
---|---|---|
committer | sigger <sigger@ampache> | 2006-01-22 21:43:28 +0000 |
commit | 84c27d57a77e4f1a37c885f45e8028af60b3f5a1 (patch) | |
tree | 65ccdf21a34a384d684d515fcb9a7034cd476873 | |
parent | 902ac7dcde91a65380a5b3c36eb8cac7857a14e0 (diff) | |
download | ampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.tar.gz ampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.tar.bz2 ampache-84c27d57a77e4f1a37c885f45e8028af60b3f5a1.zip |
fix minor mpd_control and formatting stuff
-rw-r--r-- | index.php | 6 | ||||
-rw-r--r-- | templates/show_mpdplay.inc | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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(); diff --git a/templates/show_mpdplay.inc b/templates/show_mpdplay.inc index 70962a53..89a9b89b 100644 --- a/templates/show_mpdplay.inc +++ b/templates/show_mpdplay.inc @@ -34,8 +34,8 @@ global $condPL; <table border="0" cellpadding="3" cellspacing="0"><!-- MPD Control table --> <tr> <td> - <table border="0" cellpadding="0" cellspacing="0" class="even" align="center"> - <th id="mpd_control" class="table-header"><?php echo _("MPD Play Control"); ?></th> + <table id="mpd_control" border="0" cellpadding="0" cellspacing="0" class="even" align="center"> + <th class="table-header"><?php echo _("MPD Play Control"); ?></th> <tr> <td> <?php ${$myMpd->state} = "class='selected_button'"; |