function improved_multi_select_admin in Improved Multi Select 6
Same name and namespace in other branches
- 7.2 improved_multi_select.module \improved_multi_select_admin()
- 7 improved_multi_select.module \improved_multi_select_admin()
Administration settings page
1 string reference to 'improved_multi_select_admin'
- improved_multi_select_menu in ./
improved_multi_select.module - Implements hook_menu().
File
- ./
improved_multi_select.module, line 54 - The improved_multi_select module main php code.
Code
function improved_multi_select_admin() {
$form = array();
$form['improved_multi_select:isall'] = array(
'#type' => 'checkbox',
'#title' => t('Replace all multi-select lists'),
'#default_value' => variable_get('improved_multi_select:isall', 0),
);
$form['improved_multi_select:url'] = array(
'#type' => 'textarea',
'#title' => t('Replace multi-select lists on specific pages'),
'#default_value' => variable_get('improved_multi_select:url', ''),
'#description' => t("Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.", array(
'%blog' => 'blog',
'%blog-wildcard' => 'blog/*',
'%front' => '<front>',
)),
);
return system_settings_form($form);
}