summaryrefslogtreecommitdiff
path: root/modules/block.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-24 08:38:29 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-24 08:38:29 +0000
commit2fa3490ebf6b5c169d1decae5083948c7727e4f9 (patch)
tree6415a2850b6cb2a54c100d1a8e33a2de6870a694 /modules/block.module
parentba0219e4039776a724d9d22cf7bec06e0d37e3ab (diff)
downloadbrdo-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.module18
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;
}