diff options
author | dipsol <dipsol@ampache> | 2009-05-26 13:24:58 +0000 |
---|---|---|
committer | dipsol <dipsol@ampache> | 2009-05-26 13:24:58 +0000 |
commit | 25fab47331e88113d81db6afd2777d230ba02f64 (patch) | |
tree | c86ac92d6ab00d8873da65756a9ef0d248ab0d11 /templates/show_now_playing_row.inc.php | |
parent | 2130244323f7a79a6fbaadac04a14c741d88fab3 (diff) | |
download | ampache-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.php | 11 |
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> </label> + <a title="<?php echo scrub_out($media->title); ?>" href="<?php echo $web_path; ?>/song.php?action=show_lyrics&song_id=<?php echo $media->id; ?>"> + <?php echo _('Show Lyrics');?> + </a> + </div> + <?php } ?> </div> <div class="np_group"> |