From b040c8f857c6b3b8ef7050ca08092e7659e60b58 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 Dec 2005 15:13:17 +0000 Subject: - Patch #39612 by m3avrck: the log message should have its own fieldset. --- modules/story/story.module | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules/story/story.module') diff --git a/modules/story/story.module b/modules/story/story.module index 8ffb375ca..6cc443436 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -88,15 +88,11 @@ function story_form(&$node) { $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title); - $form['body'] = array( - '#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE - ); + $form['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE); $form = array_merge($form, filter_form($node->format)); - - $form['log'] = array( - '#type' => 'textarea', '#title' => t('Log message'), '#default_value' => $node->log, - '#description' => t('An explanation of the additions or updates being made to help other authors understand your motivations.') + $form['log'] = array('#type' => 'fieldset', '#title' => t('Log message'), '#collapsible' => TRUE, '#collapsed' => TRUE); + $form['log']['message'] = array('#type' => 'textarea', '#default_value' => $node->log, '#description' => t('An explanation of the additions or updates being made to help other authors understand your motivations.') ); return $form; -- cgit v1.2.3