diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-19 08:54:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-19 08:54:41 +0000 |
commit | e84a98a22b5cd6394f3c33970114b3a960c11f05 (patch) | |
tree | 4afd5d53ff66b465bfdce4fd48a4ca7ed8b95d42 /modules/block.module | |
parent | ecd26ac8ae495d785a78f34e3e4170904be7f023 (diff) | |
download | brdo-e84a98a22b5cd6394f3c33970114b3a960c11f05.tar.gz brdo-e84a98a22b5cd6394f3c33970114b3a960c11f05.tar.bz2 |
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
Diffstat (limited to 'modules/block.module')
-rw-r--r-- | modules/block.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block.module b/modules/block.module index 95266c9b8..e97187483 100644 --- a/modules/block.module +++ b/modules/block.module @@ -458,7 +458,6 @@ function block_box_delete_confirm_submit($form_id, $form_values) { drupal_goto('admin/block'); }; - function block_box_form($edit = array()) { $form['title'] = array( '#type' => 'textfield', @@ -468,7 +467,8 @@ function block_box_form($edit = array()) { '#description' => t('The title of the block as shown to the user.'), '#weight' => -18, ); - $form['body'] = array( + $form['body_filter']['#weight'] = -17; + $form['body_filter']['body'] = array( '#type' => 'textarea', '#title' => t('Block body'), '#default_value' => $edit['body'], @@ -476,7 +476,7 @@ function block_box_form($edit = array()) { '#description' => t('The content of the block as shown to the user.'), '#weight' => -17, ); - $form['format'] = filter_form($edit['format']); + $form['body_filter']['format'] = filter_form($edit['format'], -16); $form['info'] = array( '#type' => 'textfield', '#title' => t('Block description'), |