diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 07:43:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 07:43:31 +0000 |
commit | e67cf68ba9ab9a959f389dc3424cf26713678a3c (patch) | |
tree | 06f302da2796ea8124c8489bb5f07477a814f9e7 /templates | |
parent | b1db92ee8c07a1aa7aef7bdb38b4e401aa608a96 (diff) | |
download | ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.tar.gz ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.tar.bz2 ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.zip |
fixed a few typos causing ratings to not work at all :(
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_object_rating.inc.php | 2 | ||||
-rw-r--r-- | templates/show_songs.inc | 2 |
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> |