function popups_admin_settings in Popups API (Ajax Dialogs) 7
Same name and namespace in other branches
- 5 popups.module \popups_admin_settings()
- 6.2 popups.module \popups_admin_settings()
- 6 popups.module \popups_admin_settings()
1 string reference to 'popups_admin_settings'
- popups_menu in ./
popups.module - hook_menu
File
- ./
popups.module, line 345 - popup.module
Code
function popups_admin_settings() {
drupal_set_title("Popups Settings");
$form = array();
$form['popups_title_selector'] = array(
'#type' => 'textfield',
'#title' => t('Title Selector'),
'#default_value' => variable_get('popups_title_selector', 'div.left-corner > h2:eq(0)'),
'#description' => t("jQuery selector to define the pag'e title on your Admin theme."),
);
$form['popups_content_selector'] = array(
'#type' => 'textfield',
'#title' => t('Content Selector'),
'#default_value' => variable_get('popups_content_selector', 'div.left-corner > div.clear-block:last'),
'#description' => t('jQuery selector to define the page\'s content area on your Admin theme.'),
);
return system_settings_form($form);
}