diff --git a/modules/rating.module b/modules/rating.module index cc6b02caf74423f26f04137e67b32e0f9fc364b8..d8382cf7ae6eb20df8ae1fb33c00d5c793ca3d7b 100644 --- a/modules/rating.module +++ b/modules/rating.module @@ -27,7 +27,7 @@ function rating_list($limit) { $output .= "<TABLE CELLPADDING=\"1\" CELLSPACING=\"1\">\n"; while ($account = db_fetch_object($result)) { $ranking = $account->old - $account->new; - $output .= "<TR><TD ALIGN=\"right\">". ++$i ."</TD><TD>". format_username($account->userid) ."</TD><TD ALIGN=\"right\">". check_output($account->rating) ."</TD><TD>(". ($ranking < 0 ? "" : "+") ."$ranking)</TD></TR>"; + $output .= "<TR><TD ALIGN=\"right\">". ++$i .".</TD><TD>". format_username($account->userid) ."</TD><TD ALIGN=\"right\">". check_output($account->rating) ."</TD><TD>(". ($ranking < 0 ? "" : "+") ."$ranking)</TD></TR>"; } $output .= "</TABLE>\n"; return $output; @@ -47,4 +47,4 @@ function rating_block() { return $block; } -?> \ No newline at end of file +?>