summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_song_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-09-23 17:49:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-09-23 17:49:19 +0000
commit4fec0e6127023d064bed2117effe3de00c3a5210 (patch)
treee6e7eeda43421fde7c2e2c6802205788a9b27f7f /templates/show_playlist_song_row.inc.php
parent262beba4f5c860f79a19fe7fa7a86d2eff1d35ac (diff)
downloadampache-4fec0e6127023d064bed2117effe3de00c3a5210.tar.gz
ampache-4fec0e6127023d064bed2117effe3de00c3a5210.tar.bz2
ampache-4fec0e6127023d064bed2117effe3de00c3a5210.zip
Added ratings to playlist song view
Diffstat (limited to 'templates/show_playlist_song_row.inc.php')
-rw-r--r--templates/show_playlist_song_row.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php
index f3345dd7..fd2641e3 100644
--- a/templates/show_playlist_song_row.inc.php
+++ b/templates/show_playlist_song_row.inc.php
@@ -27,6 +27,9 @@
<td class="cel_genre"><?php echo $song->f_genre_link; ?></td>
<td class="cel_track"><?php echo $song->f_track; ?></td>
<td class="cel_time"><?php echo $song->f_time; ?></td>
+<?php if (Config::get('ratings')) { ?>
+<td class="cel_rating" id="rating_<?php echo $song->id; ?>_song"><?php Rating::show($song->id,'song'); ?></td>
+<?php } ?>
<td class="cel_action">
<?php if (Config::get('download')) { ?>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">