| 1 |
<?php |
<?php |
| 2 |
// $Id: block.module,v 1.206 2006/04/26 21:53:24 killes Exp $ |
// $Id: block.module,v 1.206.2.1 2006/05/21 13:49:07 killes Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 222 |
$form[$i]['theme'] = array('#type' => 'hidden', '#value' => $theme_key); |
$form[$i]['theme'] = array('#type' => 'hidden', '#value' => $theme_key); |
| 223 |
$form[$i]['weight'] = array('#type' => 'weight', '#default_value' => $block['weight']); |
$form[$i]['weight'] = array('#type' => 'weight', '#default_value' => $block['weight']); |
| 224 |
$form[$i]['region'] = array('#type' => 'select', |
$form[$i]['region'] = array('#type' => 'select', |
| 225 |
'#default_value' => isset($block['region']) ? $block['region'] : system_default_region(), |
'#default_value' => isset($block['region']) ? $block['region'] : system_default_region($theme_key), |
| 226 |
'#options' => $block_regions, |
'#options' => $block_regions, |
| 227 |
); |
); |
| 228 |
|
|