From e550f8416210489aedd88a73cdc3c5b614edc574 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Jun 2005 09:45:45 +0000 Subject: - Patch #16204 by Thox: committed the collapsible form elements patch. NOTE: this patch works well, but the improved node edit form still has some rough edges. It is important that we continue to improve usability. Give it a try. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index ab895ac33..5dd688cf8 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -254,7 +254,7 @@ function comment_nodeapi(&$node, $op, $arg = 0) { if (user_access('administer comments')) { $selected = isset($node->comment) ? $node->comment : variable_get("comment_$node->type", 2); $output = form_radios('', 'comment', $selected, array(t('Disabled'), t('Read only'), t('Read/write'))); - return form_group(t('User comments'), $output); + return form_group_collapsible(t('User comments'), $output, TRUE); } break; -- cgit v1.2.3