diff --git a/modules/rating.module b/modules/rating.module index 26c06fab136..90d84a93f29 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; diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme index 6d9f8057468..020b66f0982 100644 --- a/themes/jeroen/jeroen.theme +++ b/themes/jeroen/jeroen.theme @@ -259,7 +259,7 @@ PHP?> echo comment_controls(); } - function comment($comment, $link = "", $thread = "") { + function comment($comment, $link = "") { echo "cid\">\n"; // Create comment header: @@ -312,9 +312,6 @@ PHP?> // Print body of comment: if ($comment) echo " " . check_output($comment->comment, 1) .""; - // Print thread (if any): - if ($thread) echo " $thread"; - // Print bottom link(s): echo " [ $link ]"; echo " "; diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 70c161bc308..ffe30408ae2 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -145,7 +145,7 @@ print "
"; } - function comment($comment, $link, $thread = "") { + function comment($comment, $link) { print "cid\">\n"; print "\n\n"; @@ -195,9 +195,6 @@ // Print body of comment: if ($comment) echo " bgcolor2\">". check_output($comment->comment, 1) .""; - // Print thread (if any): - if ($thread) echo " bgcolor3\">$thread"; - // Print bottom link(s): echo " bgcolor3\">[ $link ]"; echo " ";