function nd_settings in Node displays 6
Settings page.
1 string reference to 'nd_settings'
- _nd_menu in includes/
nd.registry.inc - Return menu items.
File
- includes/
nd.admin.inc, line 11 - Administrative functions for node displays module.
Code
function nd_settings($form_state) {
$form = array();
$form['regions_css'] = array(
'#type' => 'fieldset',
'#title' => t('Regions css'),
);
$form['regions_css']['nd_regions_css'] = array(
'#type' => 'checkbox',
'#title' => t('Load region css.'),
'#description' => t('Load the default region css that comes with this module. For inspiration, look into css/regions.css. Note, do not make any changes in that file as module upgrades will overwrite your changes.'),
'#default_value' => variable_get('nd_regions_css', TRUE),
);
// One button to save them all.
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save settings'),
'#weight' => 10,
);
return $form;
}