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/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 412aea581..6046585fe 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1292,7 +1292,7 @@ function node_form($edit) { $author .= form_textfield(t('Authored on'), 'date', $edit->date, 20, 25, NULL, NULL, TRUE); $output .= '
'; - $output .= form_group(t('Authoring information'), $author); + $output .= form_group_collapsible(t('Authoring information'), $author, TRUE); $output .= "
\n"; $node_options = variable_get('node_options_'. $edit->type, array('status', 'promote')); @@ -1303,7 +1303,7 @@ function node_form($edit) { $options .= form_checkbox(t('Create new revision'), 'revision', 1, isset($edit->revision) ? $edit->revision : in_array('revision', $node_options)); $output .= '
'; - $output .= form_group(t('Options'), $options); + $output .= form_group_collapsible(t('Publishing options'), $options, TRUE); $output .= "
\n"; $extras .= implode('
', node_invoke_nodeapi($edit, 'form admin')); -- cgit v1.2.3