summaryrefslogtreecommitdiffstats
path: root/templates/show_object_rating_static.inc.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2007-07-30 22:52:07 +0000
committerspocky <spocky@ampache>2007-07-30 22:52:07 +0000
commit1fc55df5bd2cf33c9a68789f9c2b26e50139eb85 (patch)
tree92fde033005ae53d4c334a6a470d9840069dc1b0 /templates/show_object_rating_static.inc.php
parent8e9678729653489a0839c14bc23d743e1509c319 (diff)
downloadampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.tar.gz
ampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.tar.bz2
ampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.zip
first, let's produce a page that's w3c valid
Diffstat (limited to 'templates/show_object_rating_static.inc.php')
-rw-r--r--templates/show_object_rating_static.inc.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php
index b60cc6b5..38252f32 100644
--- a/templates/show_object_rating_static.inc.php
+++ b/templates/show_object_rating_static.inc.php
@@ -28,10 +28,10 @@ echo "<ul class=\"star-rating\">\n";
/* Handle the "Not rated" possibility */
if ($rating->rating == '-1') {
- echo "<li class=\"zero-stars\"></li>\n";
+ echo "<li class=\"zero-stars\" style=\"display:none;\">reset</li>\n";
}
else {
- echo "<li class=\"zero-stars\"></li>\n";
+ echo "<li class=\"zero-stars\" style=\"display:none;\">reset</li>\n";
}
// decide width of rating. image is 16 px wide
$width = $rating->rating*16;
@@ -47,18 +47,18 @@ else echo "$rating->rating of 5</li>\n";
//it did not like my "1-star", "2-star" ... css styles, and I changed it to this after I realized star1... would have worked :\
?>
<li>
- <span class="one-stars" title="1 <?php echo _('out of'); ?> 5"></span>
+ <span class="one-stars" title="1 <?php echo _('out of'); ?> 5">1</span>
</li>
<li>
- <span class="two-stars" title="2 <?php echo _('out of'); ?> 5"></span>
+ <span class="two-stars" title="2 <?php echo _('out of'); ?> 5">2</span>
</li>
<li>
- <span class="three-stars" title="3 <?php echo _('out of'); ?> 5"></span>
+ <span class="three-stars" title="3 <?php echo _('out of'); ?> 5">3</span>
</li>
<li>
- <span class="four-stars" title="4 <?php echo _('out of'); ?> 5"></span>
+ <span class="four-stars" title="4 <?php echo _('out of'); ?> 5">4</span>
</li>
<li>
- <span class="five-stars" title="5 <?php echo _('out of'); ?> 5"></span>
+ <span class="five-stars" title="5 <?php echo _('out of'); ?> 5">5</span>
</li>
</ul>