diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-13 23:23:23 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-13 23:23:23 +0000 |
commit | 3e4454bd9b88aa246ba9209a0546745763eaac3e (patch) | |
tree | c0bd01485f8fab9a97ec8c37fb5617b7eb9d5824 | |
parent | 1559e6c2abb2d378725151da563804e4b7c92c59 (diff) | |
download | brdo-3e4454bd9b88aa246ba9209a0546745763eaac3e.tar.gz brdo-3e4454bd9b88aa246ba9209a0546745763eaac3e.tar.bz2 |
I added a trailing dot to the numbers in the ratings list. Call me a perfectionist...
-rw-r--r-- | modules/rating.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rating.module b/modules/rating.module index cc6b02caf..d8382cf7a 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 +?> |