summaryrefslogtreecommitdiffstats
path: root/templates/show_now_playing_row.inc.php
diff options
context:
space:
mode:
authordipsol <dipsol@ampache>2009-05-26 13:24:58 +0000
committerdipsol <dipsol@ampache>2009-05-26 13:24:58 +0000
commit25fab47331e88113d81db6afd2777d230ba02f64 (patch)
treec86ac92d6ab00d8873da65756a9ef0d248ab0d11 /templates/show_now_playing_row.inc.php
parent2130244323f7a79a6fbaadac04a14c741d88fab3 (diff)
downloadampache-25fab47331e88113d81db6afd2777d230ba02f64.tar.gz
ampache-25fab47331e88113d81db6afd2777d230ba02f64.tar.bz2
ampache-25fab47331e88113d81db6afd2777d230ba02f64.zip
added link from now playing to the lyrics
Diffstat (limited to 'templates/show_now_playing_row.inc.php')
-rw-r--r--templates/show_now_playing_row.inc.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php
index f3cfc842..bd1f95cc 100644
--- a/templates/show_now_playing_row.inc.php
+++ b/templates/show_now_playing_row.inc.php
@@ -31,13 +31,22 @@ $artist = scrub_out(truncate_with_ellipsis($media->f_artist_full));
<?php echo scrub_out($np_user->fullname); ?>
</a>
</div>
-
+
<div class="np_cell cel_rating">
<label><?php echo _('Rating'); ?></label>
<div id="rating_<?php echo $media->id; ?>_song">
<?php Rating::show($media->id,'song'); ?>
</div>
</div>
+
+ <?php if (Config::get('show_lyrics')) {?>
+ <div class="np_cell cel_lyrics">
+ <label>&nbsp;</label>
+ <a title="<?php echo scrub_out($media->title); ?>" href="<?php echo $web_path; ?>/song.php?action=show_lyrics&amp;song_id=<?php echo $media->id; ?>">
+ <?php echo _('Show Lyrics');?>
+ </a>
+ </div>
+ <?php } ?>
</div>
<div class="np_group">