summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 19:55:54 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 19:55:54 +0000
commit2af0776aa93e706a303ad6701fb989f8e00b0cd2 (patch)
tree3ef22623b23e5b42fd700de26c0a3cb8f06568b2 /index.php
parent545043d3ed047037fc07b9e80688d94df7ed2da9 (diff)
downloadampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.tar.gz
ampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.tar.bz2
ampache-2af0776aa93e706a303ad6701fb989f8e00b0cd2.zip
more tweaks from sigger to speed up load times
Diffstat (limited to 'index.php')
-rw-r--r--index.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/index.php b/index.php
index 18f84086..e8288bcf 100644
--- a/index.php
+++ b/index.php
@@ -110,24 +110,24 @@ $action = scrub_in($_REQUEST['action']);
</tr>
</table>
</td>
+ <?php
+ if($user->prefs['play_type'] == 'local_play') {
+ ?>
<td valign="top">
<!-- Right table -->
<table border="0">
<tr>
<td valign="top" rowspan="7">
- <?php
- if($user->prefs['play_type'] == 'local_play') {
- show_local_control();
+ <?php show_local_control(); ?>
echo "<br />";
- } else {
- echo "&nbsp;";
- }
- ?>
</td>
</tr>
- </table>
+ </table>'
</td>
<!-- End Right Table -->
+ <?php
+ }
+ ?>
</tr>
</table>