diff options
Diffstat (limited to 'includes/comment.inc')
-rw-r--r-- | includes/comment.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/comment.inc b/includes/comment.inc index 57b87583b..b15cee23b 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -184,14 +184,12 @@ function comment_moderation($comment) { function comment_controls($threshold = 1, $mode = 3, $order = 1) { global $REQUEST_URI, $user; - $output .= "<FONT SIZE=\"2\">\n"; $output .= "<FORM METHOD=\"post\" ACTION=\"$REQUEST_URI\">\n"; $output .= comment_mode(($user->id ? $user->mode : $mode)); $output .= comment_order(($user->id ? $user->sort : $order)); $output .= comment_threshold(($user->id ? $user->threshold : $threshold)); $output .= "<INPUT TYPE=\"submit\" NAME=\"op\" VALUE=\"". t("Update settings") ."\">\n"; $output .= "</FORM>\n"; - $output .= "</FONT>\n"; return $output; } @@ -289,7 +287,7 @@ function comment_render($lid, $cid) { if ($user->id) { // Comment control: - $theme->controls($threshold, $mode, $order); + $theme->box(t("Comment control"), "<DIV ALIGN=\"center\">". comment_controls($threshold, $mode, $order) ."</DIV>"); // Print moderation form: print "<FORM METHOD=\"post\" ACTION=\"$REQUEST_URI\">\n"; |