From 00d638ca5790cac5cf1d7b195e07d17f9cbb80a4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 6 Nov 2003 18:27:58 +0000 Subject: - Usability improvement: replaced many selection boxes by radio buttons. Patch by Stefan. - Usability improvement: introduced a form_group() function and updated the node and comment module to take advantage of it. Patch #149 by Eric Farris. --- modules/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment.module') diff --git a/modules/comment.module b/modules/comment.module index 4f81d029f..8e5a2e7e0 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1627,7 +1627,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) { $output = form_radio(t("Disabled"), "comment", 0, ($selected == 0)); $output .= form_radio(t("Read only"), "comment", 1, ($selected == 1)); $output .= form_radio(t("Read/write"), "comment", 2, ($selected == 2)); - return form_item(t("Allow user comments"), $output); + return form_group(t("User comments"), $output); } break; case "validate": -- cgit v1.2.3