summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorsigger <sigger@ampache>2006-01-22 19:24:33 +0000
committersigger <sigger@ampache>2006-01-22 19:24:33 +0000
commit902ac7dcde91a65380a5b3c36eb8cac7857a14e0 (patch)
tree8a29c9309e6f77dc0fa9fed6cb4785981f88d098 /index.php
parent2859412530ad01efe02829dde9bc9842aac0a5db (diff)
downloadampache-902ac7dcde91a65380a5b3c36eb8cac7857a14e0.tar.gz
ampache-902ac7dcde91a65380a5b3c36eb8cac7857a14e0.tar.bz2
ampache-902ac7dcde91a65380a5b3c36eb8cac7857a14e0.zip
mpd playlist and layout cleanup
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 581799cd..471b7596 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 */
-$myMpd = init_mpd();
+if ($user->prefs['play_type']) { $myMpd = init_mpd(); }
show_template('header');
@@ -38,7 +38,7 @@ $action = scrub_in($_REQUEST['action']);
?>
<!-- Big Daddy Table -->
-<table style="padding-left:5px;padding-right:5px;padding-top:5px;padding-bottom:5px;" >
+<table id="bigdaddy" style="padding-left:5px;padding-right:5px;padding-top:5px;padding-bottom:5px;" width="100%">
<tr>
<td style="padding-left:17px;" valign="top" colspan="2">
<?php show_now_playing(); ?>
@@ -48,10 +48,10 @@ $action = scrub_in($_REQUEST['action']);
<td valign="top">
<table border="0"><!-- Left table -->
<tr>
- <td valign="top" align="right">
+ <td valign="top" align="right" width="50%">
<?php show_local_catalog_info(); ?>
</td>
- <td valign="top" align="left">
+ <td valign="top" align="left" width="50%">
<?php
if ($user->prefs['play_type'] == 'mpd' && !conf('localplay_menu')) {
show_mpd_control();