- Patch #1164808 by mrfelton: block title field was overlooked.

merge-requests/26/head
Dries Buytaert 2011-09-11 17:06:45 -04:00
parent 7d490ac8f7
commit aa78d4987d
2 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ function block_admin_configure($form, &$form_state, $module, $delta) {
'#maxlength' => 64,
'#description' => $block->module == 'block' ? t('The title of the block as shown to the user.') : t('Override the default title for the block. Use <em>!placeholder</em> to display no title, or leave blank to use the default block title.', array('!placeholder' => '&lt;none&gt;')),
'#default_value' => isset($block->title) ? $block->title : '',
'#weight' => -18,
'#weight' => -19,
);
// Module-specific block configuration.

View File

@ -500,7 +500,7 @@ function block_custom_block_form($edit = array()) {
'#maxlength' => 64,
'#description' => t('A brief description of your block. Used on the <a href="@overview">Blocks administration page</a>.', array('@overview' => url('admin/structure/block'))),
'#required' => TRUE,
'#weight' => -19,
'#weight' => -18,
);
$form['body_field']['#weight'] = -17;
$form['body_field']['body'] = array(