diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-03 12:17:12 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-03 12:17:12 +0000 |
commit | fa26457895a602d356c1878aefa1d1de0a86dfce (patch) | |
tree | b5008726b8f31d89b5fc6b4abf16e2b322a2888f /modules | |
parent | 74d3c351ce30e351f171c215ce97817550c9f5ea (diff) | |
download | brdo-fa26457895a602d356c1878aefa1d1de0a86dfce.tar.gz brdo-fa26457895a602d356c1878aefa1d1de0a86dfce.tar.bz2 |
- As I'm working down my TODO list, I updated your themes:
$theme->comment() only takes 2 parameters ever since the comment
system rewrite 2 months ago. Make sure to update your local tree
before you start hacking away on your themes.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rating.module | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/rating.module b/modules/rating.module index 26c06fab1..90d84a93f 100644 --- a/modules/rating.module +++ b/modules/rating.module @@ -52,10 +52,9 @@ function rating_help() { function rating_list($limit) { $result = db_query("SELECT userid, rating FROM users ORDER BY rating DESC LIMIT $limit"); - $output .= "<TABLE CELLPADDING=\"2\" CELLSPACING=\"2\">\n"; - $output .= "<TR><TH>Username</TH><TH>Rating</TH></TR>\n"; + $output .= "<TABLE CELLPADDING=\"1\" CELLSPACING=\"1\">\n"; while ($account = db_fetch_object($result)) { - $output .= "<TR><TD>". format_username($account->userid) ."</TD><TD>". check_output($account->rating) ."</TD></TR>"; + $output .= "<TR><TD ALIGN=\"right\">". ++$i ."</TD><TD>". format_username($account->userid) ."</TD><TD>". check_output($account->rating) ."</TD></TR>"; } $output .= "</TABLE>\n"; return $output; |