summaryrefslogtreecommitdiffstats
path: root/templates/show_object_rating.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-18 08:39:13 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-18 08:39:13 +0000
commite2a9f3e557eda5a76abff96bb8b48432a8962e97 (patch)
tree95bcee3be52e73d439aebcef43c81526f1de0e8e /templates/show_object_rating.inc.php
parent5f8db40a3247a38644a8aa07e62b1e6e4a71b1f5 (diff)
downloadampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.tar.gz
ampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.tar.bz2
ampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.zip
fixed the 0 rating hover and removed some redudent definitions from the stylesheet
Diffstat (limited to 'templates/show_object_rating.inc.php')
-rw-r--r--templates/show_object_rating.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_object_rating.inc.php b/templates/show_object_rating.inc.php
index a440d919..ef2aafea 100644
--- a/templates/show_object_rating.inc.php
+++ b/templates/show_object_rating.inc.php
@@ -31,10 +31,10 @@ echo "<ul class=\"star-rating\">\n";
/* Handle the "Not rated" possibility */
if ($rating->rating == '-1') {
- echo "<li><a href=\"" . $base_url . "&amp;rating=-1\" title=\"don't play\" class=\"zero-stars\">-1</a></li>\n";
+ echo "<li class=\"zero-stars\"><a href=\"" . $base_url . "&amp;rating=-1\" title=\"don't play\" class=\"zero-stars\">-1</a></li>\n";
}
else {
- echo "<li><a href=\"" . $base_url . "&amp;rating=-1\" title=\"remove rating\" class=\"zero-stars\">-1</a></li>\n";
+ echo "<li class=\"zero-stars\"><a href=\"" . $base_url . "&amp;rating=-1\" title=\"remove rating\" class=\"zero-stars\">-1</a></li>\n";
}
// decide width of rating. image is 16 px wide
$width = $rating->rating*16;