I added a trailing dot to the numbers in the ratings list. Call me a perfectionist...

3-00
Steven Wittens 2001-05-13 23:23:23 +00:00
parent 1559e6c2ab
commit 3e4454bd9b
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
?>
?>