summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-06-21 09:45:45 +0000
committerDries Buytaert <dries@buytaert.net>2005-06-21 09:45:45 +0000
commite550f8416210489aedd88a73cdc3c5b614edc574 (patch)
tree4bfe99c1e26afb24555e144a284abb67fae52df8 /modules/comment/comment.module
parente16e048d577236daded1ad13a3913ba202d7db0f (diff)
downloadbrdo-e550f8416210489aedd88a73cdc3c5b614edc574.tar.gz
brdo-e550f8416210489aedd88a73cdc3c5b614edc574.tar.bz2
- 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.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
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;