From fa26457895a602d356c1878aefa1d1de0a86dfce Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 3 Mar 2001 12:17:12 +0000 Subject: - 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. --- modules/rating.module | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules') 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 .= "\n"; - $output .= "\n"; + $output .= "
UsernameRating
\n"; while ($account = db_fetch_object($result)) { - $output .= ""; + $output .= ""; } $output .= "
". format_username($account->userid) ."". check_output($account->rating) ."
". ++$i ."". format_username($account->userid) ."". check_output($account->rating) ."
\n"; return $output; -- cgit v1.2.3