summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_status.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 02:27:14 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 02:27:14 +0000
commit9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1 (patch)
tree6d98288192c059cf3453bcca8c54c68e96a239ac /templates/show_localplay_status.inc.php
parentdb464555820830458e883c962f0b9482d177564b (diff)
downloadampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.gz
ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.bz2
ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.zip
more tweaks to the democratic playlist, move the play command out front also clean up now playing on localplay status box
Diffstat (limited to 'templates/show_localplay_status.inc.php')
-rw-r--r--templates/show_localplay_status.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php
index fa0c4b63..3fb554be 100644
--- a/templates/show_localplay_status.inc.php
+++ b/templates/show_localplay_status.inc.php
@@ -20,10 +20,11 @@
*/
$status = $localplay->status();
+$now_playing = $status['track_title'] ? $status['track_title'] . ' - ' . $status['track_album'] . ' - ' . $status['track_artist'] : '';
?>
<?php Ajax::start_container('localplay_status'); ?>
<?php show_box_top(_('Localplay Control')); ?>
-<?php echo _('Now Playing'); ?>:<i><?php echo $status['track_title']; ?> - <?php echo $status['track_album']; ?> - <?php echo $status['track_artist']; ?></i>
+<?php echo _('Now Playing'); ?>:<i><?php echo $now_playing; ?></i>
<div id="information_actions">
<ul>
<li>