summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/block.module18
-rw-r--r--modules/block/block.module18
2 files changed, 18 insertions, 18 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;
}
diff --git a/modules/block/block.module b/modules/block/block.module
index 58c66515d..1c81dd672 100644
--- a/modules/block/block.module
+++ b/modules/block/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;
}