Commit 74b78a54 authored by Dries's avatar Dries

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

parent e9565463
......@@ -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.
......
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment