diff options
Diffstat (limited to 'templates/show_object_rating.inc.php')
-rw-r--r-- | templates/show_object_rating.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_object_rating.inc.php b/templates/show_object_rating.inc.php index 9d1ba585..cc917a12 100644 --- a/templates/show_object_rating.inc.php +++ b/templates/show_object_rating.inc.php @@ -30,14 +30,14 @@ $base_url = '?action=set_rating&rating_type=' . $rating->type . '&object_id=' . // decide width of rating (5 stars -> 20% per star) $width = $rating->preciserating*20; if ($width < 0) $width = 0; - - //set the current rating background + + //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++) { ?> |