- Patch #1164808 by mrfelton: block title field was overlooked.
parent
7d490ac8f7
commit
aa78d4987d
|
@ -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' => '<none>')),
|
||||
'#default_value' => isset($block->title) ? $block->title : '',
|
||||
'#weight' => -18,
|
||||
'#weight' => -19,
|
||||
);
|
||||
|
||||
// Module-specific block configuration.
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue