From 4cbcbc1dce33ad35dc0214047d71330976a2861b Mon Sep 17 00:00:00 2001 From: xgizzmo Date: Wed, 28 Dec 2005 01:40:44 +0000 Subject: More XHTML clean up --- templates/show_object_rating.inc.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'templates') diff --git a/templates/show_object_rating.inc.php b/templates/show_object_rating.inc.php index 1be182cb..16dff78e 100644 --- a/templates/show_object_rating.inc.php +++ b/templates/show_object_rating.inc.php @@ -26,7 +26,7 @@ if ($type != 'song') { } /* Create some variables we are going to need */ -$base_url = conf('web_path') . '/ratings.php?action=set_rating&mode=' . conf('flash') . '&rating_type=' . $rating->type . '&object_id=' . $rating->id . '&username=' . $GLOBALS['user']->username; +$base_url = conf('web_path') . '/ratings.php?action=set_rating&mode=' . conf('flash') . '&rating_type=' . $rating->type . '&object_id=' . $rating->id . '&username=' . $GLOBALS['user']->username; $score = '0'; @@ -34,27 +34,27 @@ $score = '0'; while ($score < 6) { /* Handle the "Not rated" possibility */ if ($score == '0' AND $rating->rating == '-1') { - echo "\""\n"; + echo "\""\n"; $found_on = true; } elseif ($score == '0' AND $rating->rating == '0') { - echo "\""\n"; + echo "\""\n"; $found_on = true; } elseif ($score == '0') { - echo "\n\t"; - echo "\""\n"; + echo "\n\t"; + echo "\""\n"; echo ""; } elseif ($score == $rating->rating) { - echo "\""\n"; + echo "\""\n"; $found_on = true; } elseif (!$found_on) { - echo "\n\t\""\n\n"; + echo "\n\t\""\n\n"; } else { - echo "\n\t\""\n\n"; + echo "\n\t\""\n\n"; } /* Next! */ $score++; -- cgit