function closeblock_system_theme_settings in Close Block 6
Same name and namespace in other branches
- 7 includes/closeblock.form.inc \closeblock_system_theme_settings()
Add Closeblock settings to theme settings form
_state
Parameters
$form:
1 call to closeblock_system_theme_settings()
- closeblock_form_system_theme_settings_alter in ./
closeblock.module - Implements hook_form_FORM_ID_alter().
File
- includes/
closeblock.form.inc, line 9
Code
function closeblock_system_theme_settings(&$form, $form_state) {
$settings = variable_get($form['var']['#value'], array());
$settings = array_merge(closeblock_default_settings(), $settings, array());
$form['closeblock'] = array(
'#type' => 'fieldset',
'#title' => t('Closeblock selectors'),
'#weight' => 0,
'#attributes' => array(
'id' => 'closeblock_form',
),
);
$form['closeblock'] += closeblock_settings_elemnts($settings);
}