diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-06-21 09:45:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-06-21 09:45:45 +0000 |
commit | e550f8416210489aedd88a73cdc3c5b614edc574 (patch) | |
tree | 4bfe99c1e26afb24555e144a284abb67fae52df8 /modules/comment.module | |
parent | e16e048d577236daded1ad13a3913ba202d7db0f (diff) | |
download | brdo-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.module')
-rw-r--r-- | modules/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module index ab895ac33..5dd688cf8 100644 --- a/modules/comment.module +++ b/modules/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; |