summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_object_rating.inc.php2
-rw-r--r--templates/show_songs.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_object_rating.inc.php b/templates/show_object_rating.inc.php
index afd6d056..05bd3633 100644
--- a/templates/show_object_rating.inc.php
+++ b/templates/show_object_rating.inc.php
@@ -32,7 +32,7 @@ if ($rating->rating == '-1') {
echo "<li class=\"zero-stars\"><span onclick=\"ajaxPut('" . $base_url . "&rating=-1',r_" . $rating->id . "_" . $rating->type . ");return true;\" title=\"don't play\" class=\"zero-stars\"></span></li>\n";
}
else {
- echo "<li class=\"zero-stars\"><span onclick=\"ajaxPut('" . $base_url . "&rating=-1',r_" . $rating->id . "_" . $rating->type . ");return true;\" title=\"remove rating\" class=\"zero-stars\"></span></li>\n";
+ echo "<li class=\"zero-stars\"><span onclick=\"ajaxPut('" . $base_url . "&rating=-1',r_" . $rating->id . "_" . $rating->type . ");return true;\" title=\"remove rating\" class=\"zero-stars\"></span></li>\n";
}
// decide width of rating. image is 16 px wide
$width = $rating->rating*16;
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index be8f179c..bd633811 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -54,7 +54,7 @@ if (is_object($playlist) && ($GLOBALS['user']->username == $playlist->user || $G
<th><?php echo _('Bitrate'); ?></th>
<th><?php echo _('Genre'); ?></th>
<th><?php echo _('Action'); ?></th>
- <?php if (conf('ratings') || conf('ratings')=="false") { ?>
+ <?php if (conf('ratings')) { ?>
<th width="95px"><?php echo _('Rating'); ?></th>
<?php } ?>
</tr>