summaryrefslogtreecommitdiffstats
path: root/templates/show_song_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-30 08:15:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-30 08:15:01 +0000
commit8f866451bc83acd66f05804488c1a982c9c82736 (patch)
tree9533af434e0c06654e4edbfceb0e9eb7f447585a /templates/show_song_row.inc.php
parent4ff16a2c33746a57a2f3bd67c6dc2f1199b19252 (diff)
downloadampache-8f866451bc83acd66f05804488c1a982c9c82736.tar.gz
ampache-8f866451bc83acd66f05804488c1a982c9c82736.tar.bz2
ampache-8f866451bc83acd66f05804488c1a982c9c82736.zip
massive speed boost on the standard browse functions
Diffstat (limited to 'templates/show_song_row.inc.php')
-rw-r--r--templates/show_song_row.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_song_row.inc.php b/templates/show_song_row.inc.php
index 492609eb..fb3b69ae 100644
--- a/templates/show_song_row.inc.php
+++ b/templates/show_song_row.inc.php
@@ -28,6 +28,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 ($GLOBALS['user']->prefs['download']) { ?>
<a href="<?php echo Config::get('web_path'); ?>/stream.php?action=download&amp;song_id=<?php echo $song->id; ?>">