function skinr_ui_admin_form in Skinr 6.2
Menu callback; displays the skinr settings administration form.
1 string reference to 'skinr_ui_admin_form'
- skinr_ui_menu in ./
skinr_ui.module - Implementation of hook_menu().
File
- ./
skinr_ui.admin.inc, line 345 - Admin page callbacks for the skinr module.
Code
function skinr_ui_admin_form(&$form_state) {
$form = array();
$form['overlay'] = array(
'#type' => 'fieldset',
'#title' => t('Overlay'),
'#collapsible' => TRUE,
);
$form['overlay']['skinr_overlay_width'] = array(
'#type' => 'textfield',
'#title' => t('Window width'),
'#default_value' => variable_get('skinr_overlay_width', 600),
'#description' => t('The width of the overlay window. Leave this field blank to allow the window to automatically resize itself to a minimal width.'),
);
$form['overlay']['skinr_overlay_height'] = array(
'#type' => 'textfield',
'#title' => t('Window height'),
'#default_value' => variable_get('skinr_overlay_height', NULL),
'#description' => t('The height of the overlay window. Leave this field blank to allow the window to automatically resize itself to the height of your browser.'),
);
return system_settings_form($form);
}