summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-30 08:29:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-30 08:29:23 +0000
commit4e716204e84fc7546372bdae79121e47b92412bc (patch)
tree2f1ff4913d6363111cea36b7dbaf0d2f8266a3b9 /templates
parent5975361e038e17e5f91fd69da4f5df2d3e5af259 (diff)
downloadampache-4e716204e84fc7546372bdae79121e47b92412bc.tar.gz
ampache-4e716204e84fc7546372bdae79121e47b92412bc.tar.bz2
ampache-4e716204e84fc7546372bdae79121e47b92412bc.zip
fixed localplay index problem after track delete, fixed lack of high-light of current playing song, fixed problem were second localplay send would kill session of any existing items
Diffstat (limited to 'templates')
-rw-r--r--templates/show_localplay_playlist.inc.php2
-rw-r--r--templates/show_localplay_status.inc.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php
index e9806a02..b8d87108 100644
--- a/templates/show_localplay_playlist.inc.php
+++ b/templates/show_localplay_playlist.inc.php
@@ -35,7 +35,7 @@
<?php
foreach ($objects as $object) {
$class = ' class="cel_name"';
- if ($status['track'] == $song['track']) { $class=' class="cel_name lp_current"'; }
+ if ($status['track'] == $object['track']) { $class=' class="cel_name lp_current"'; }
?>
<tr class="<?php echo flip_class(); ?>" id="localplay_playlist_<?php echo $object['id']; ?>">
<td class="cel_track">
diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php
index 9da440aa..3353872e 100644
--- a/templates/show_localplay_status.inc.php
+++ b/templates/show_localplay_status.inc.php
@@ -20,7 +20,6 @@
*/
$status = $localplay->status();
-
?>
<?php Ajax::start_container('localplay_status'); ?>
<?php show_box_top(_('Localplay Control')); ?>