summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.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_songs.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_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index 1dd4988f..05d8e679 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -33,6 +33,7 @@ $ajax_url = Config::get('ajax_url');
<col id="col_genre" />
<col id="col_track" />
<col id="col_time" />
+ <col id="col_rating" />
<col id="col_action" />
</colgroup>
<tr class="th-top">
@@ -43,6 +44,9 @@ $ajax_url = Config::get('ajax_url');
<th class="cel_genre"><?php echo _('Genre'); ?></th>
<th class="cel_track"><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
<th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
+<?php if (Config::get('ratings')) { ?>
+ <th class="cel_rating"><?php echo _('Rating'); ?></th>
+<?php } ?>
<th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php