diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-24 08:38:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-24 08:38:29 +0000 |
commit | 2fa3490ebf6b5c169d1decae5083948c7727e4f9 (patch) | |
tree | 6415a2850b6cb2a54c100d1a8e33a2de6870a694 /modules/block.module | |
parent | ba0219e4039776a724d9d22cf7bec06e0d37e3ab (diff) | |
download | brdo-2fa3490ebf6b5c169d1decae5083948c7727e4f9.tar.gz brdo-2fa3490ebf6b5c169d1decae5083948c7727e4f9.tar.bz2 |
- Patch #46106 by markus: usability improvement: moved the block description textfield up.
Diffstat (limited to 'modules/block.module')
-rw-r--r-- | modules/block.module | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/block.module b/modules/block.module index 58c66515d..1c81dd672 100644 --- a/modules/block.module +++ b/modules/block.module @@ -456,6 +456,15 @@ function block_box_delete_confirm_submit($form_id, $form_values) { }; function block_box_form($edit = array()) { + $form['info'] = array( + '#type' => 'textfield', + '#title' => t('Block description'), + '#default_value' => $edit['info'], + '#maxlength' => 64, + '#description' => t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.', array('%overview' => url('admin/block'))), + '#required' => TRUE, + '#weight' => -19, + ); $form['title'] = array( '#type' => 'textfield', '#title' => t('Block title'), @@ -474,15 +483,6 @@ function block_box_form($edit = array()) { '#weight' => -17, ); $form['body_filter']['format'] = filter_form($edit['format'], -16); - $form['info'] = array( - '#type' => 'textfield', - '#title' => t('Block description'), - '#default_value' => $edit['info'], - '#maxlength' => 64, - '#description' => t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.', array('%overview' => url('admin/block'))), - '#required' => TRUE, - '#weight' => -15, - ); return $form; } |