summaryrefslogtreecommitdiff
path: root/modules/story
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-02 15:13:17 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-02 15:13:17 +0000
commitb040c8f857c6b3b8ef7050ca08092e7659e60b58 (patch)
treec78e77a31efa3b097a60568c05502e9269aa472a /modules/story
parentf5253a892a807f4e2f0a3bb6cb3a499696dd3e85 (diff)
downloadbrdo-b040c8f857c6b3b8ef7050ca08092e7659e60b58.tar.gz
brdo-b040c8f857c6b3b8ef7050ca08092e7659e60b58.tar.bz2
- Patch #39612 by m3avrck: the log message should have its own fieldset.
Diffstat (limited to 'modules/story')
-rw-r--r--modules/story/story.module10
1 files changed, 3 insertions, 7 deletions
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;