function footermap_settings in footermap: a footer site map 5
Same name and namespace in other branches
- 5.2 footermap.module \footermap_settings()
- 6 footermap.module \footermap_settings()
- 7 footermap.module \footermap_settings()
1 string reference to 'footermap_settings'
File
- ./
footermap.module, line 68
Code
function footermap_settings() {
$form['recurse_limit'] = array(
'#type' => 'textfield',
'#title' => t('Recurse Limit'),
'#default_value' => variable_get('recurse_limit', 0),
'#size' => 3,
'#maxlength' => 3,
'#description' => t('Set the # of times to recurse through a particular menu. Default is 0, unlimited.'),
);
$form['top_menu'] = array(
'#type' => 'textfield',
'#title' => t('Top Menu'),
'#default_value' => variable_get('top_menu', variable_get('menu_primary_menu', 0)),
'#size' => 3,
'#maxlength' => 3,
'#description' => t('Set the menu id to use as the top level. Default is to start at 0 i.e. primary links.'),
);
$form['menu_headers'] = array(
'#type' => 'radios',
'#title' => t('Menu Headers'),
'#default_value' => variable_get('menu_headers', 0),
'#options' => array(
t('Yes'),
t('No'),
),
'#required' => '1',
'#description' => t('Display menu block headers in the footer site map.'),
);
return system_settings_form($form);
}