From c485b545550faa036e1c35b2296c39d85b8cfca9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 23 Aug 2003 10:11:10 +0000 Subject: - Fixed a number of small user experience inconsistencies pointed out by Keith. --- modules/comment.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 3bff35e22..99ecb50d7 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -685,7 +685,7 @@ function comment_render($node, $cid = 0) { if ((variable_get("comment_controls", 0) == 0) || (variable_get("comment_controls", 0) == 2)) { print "
\n"; - theme("box", "", theme("comment_controls", $threshold, $mode, $order, $comments_per_page)); + theme("comment_controls", $threshold, $mode, $order, $comments_per_page); print form_hidden("nid", $nid); print "
"; } @@ -726,7 +726,7 @@ function comment_render($node, $cid = 0) { if ((variable_get("comment_controls", 0) == 1) || (variable_get("comment_controls", 0) == 2)) { print "
\n"; - theme("box", "", theme("comment_controls", $threshold, $mode, $order, $comments_per_page)); + theme("comment_controls", $threshold, $mode, $order, $comments_per_page); print form_hidden("nid", $nid); print "
"; } @@ -1268,10 +1268,10 @@ function comment_controls($threshold = 1, $mode = 3, $order = 1, $comments_per_p $output .= " ". form_submit(t("Save settings")); - $output = form_item(t("Comment viewing options"), $output, t("Select your preferred way to display the comments and click 'Save settings' to activate your changes.")); + $output = form_item(NULL, $output, t("Select your preferred way to display the comments and click 'Save settings' to activate your changes.")); } - return $output; + return theme("box", t("Comment viewing options"), $output); } function comment_moderation_form($comment) { -- cgit v1.2.3