summaryrefslogtreecommitdiffstats
path: root/templates/sidebar.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-09 09:00:47 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-09 09:00:47 +0000
commitf79a2489c1f18f2bf1436fa5ec4c8fd9c903fd61 (patch)
tree97952ac522a9f0376623e5aa868141e5d9b3a821 /templates/sidebar.inc.php
parent78590d7d512ada604987fdcc9c31a8c74591f64b (diff)
downloadampache-f79a2489c1f18f2bf1436fa5ec4c8fd9c903fd61.tar.gz
ampache-f79a2489c1f18f2bf1436fa5ec4c8fd9c903fd61.tar.bz2
ampache-f79a2489c1f18f2bf1436fa5ec4c8fd9c903fd61.zip
updates, ajax kind of broken right now its late
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r--templates/sidebar.inc.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php
index d4b5960a..38fef93d 100644
--- a/templates/sidebar.inc.php
+++ b/templates/sidebar.inc.php
@@ -184,9 +184,15 @@ $web_path = conf('web_path');
<br />
<?php $type = conf('play_type'); ${$type} = 'id="pt_active"'; ?>
<?php
- $required_info = "&amp;user_id=" . $GLOBALS['user']->id . "&amp;sessid=" . session_id();
+ $required_info = "&user_id=" . $GLOBALS['user']->id . "&sessid=" . session_id();
$ajax_url = $web_path . '/server/ajax.server.php';
?>
+ <script type="text/javascript" language="javascript">
+ <!--
+ var lp_switch = new Array(2);
+ lp_switch[0] = "play_type";
+ -->
+ </script>
<span class="text-action" style="cursor:pointer;" id="play_type">
<?php require_once(conf('prefix') . '/templates/show_localplay_switch.inc.php'); ?>
</span>