From 52507806eb2c68dbc05661261b5c10c690cc0ca0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Jan 2006 19:29:17 +0000 Subject: - Patch #45301 by Morbus: corrected the weight of form item titles of nodes. --- modules/blog/blog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 8ca451846..76952cddf 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -228,7 +228,7 @@ function blog_form(&$node) { } - $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title); + $form['title'] = array('#type' => 'textfield', '#title' => t('Title'), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5); $form['body'] = array('#type' => 'textarea', '#title' => t('Body'), '#default_value' => $node->body, '#rows' => 20, '#required' => TRUE); $form['filter'] = filter_form($node->format); return $form; -- cgit v1.2.3