| 1 |
<?php |
<?php |
| 2 |
// $Id: block.module,v 1.162.2.4 2005/07/03 15:27:49 dries Exp $ |
// $Id: block.module,v 1.162.2.5 2005/07/20 11:41:57 dries Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 351 |
} |
} |
| 352 |
|
|
| 353 |
function block_box_form($edit = array()) { |
function block_box_form($edit = array()) { |
| 354 |
$output = form_textfield(t('Block title'), 'title', $edit['title'], 50, 64, t('The title of the block as shown to the user.')); |
$output = form_textfield(t('Block title'), 'title', $edit['title'], 50, 64, t('The title of the block as shown to the user. Leave blank for no title.')); |
| 355 |
$output .= filter_form('format', $edit['format']); |
$output .= filter_form('format', $edit['format']); |
| 356 |
$output .= form_textarea(t('Block body'), 'body', $edit['body'], 70, 10, t('The content of the block as shown to the user.')); |
$output .= form_textarea(t('Block body'), 'body', $edit['body'], 70, 10, t('The content of the block as shown to the user.')); |
| 357 |
$output .= form_textfield(t('Block description'), 'info', $edit['info'], 50, 64, t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.', array('%overview' => url('admin/block')))); |
$output .= form_textfield(t('Block description'), 'info', $edit['info'], 50, 64, t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.', array('%overview' => url('admin/block')))); |