summaryrefslogtreecommitdiffstats
path: root/templates/show_object_rating_static.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_object_rating_static.inc.php')
-rw-r--r--templates/show_object_rating_static.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php
index 3c2eb640..c45b3ac5 100644
--- a/templates/show_object_rating_static.inc.php
+++ b/templates/show_object_rating_static.inc.php
@@ -30,14 +30,14 @@ $base_url = Config::get('ajax_url') . '?action=set_rating&rating_type=' . $r
// decide width of rating (5 stars -> 20% per star)
$width = $rating->preciserating*20;
if ($width < 0) $width = 0;
-
+
//set the current rating background
echo "<li class=\"current-rating\" style=\"width:${width}%\" >" . _('Current rating: ');
if ($rating->rating <= 0) {
echo _('not rated yet') . "</li>\n";
}
else printf(_('%s of 5') ,$rating->preciserating); echo "</li>\n";
-
+
for ($i=1; $i<6; $i++)
{
?>