function boxes_settings in Boxes 7
Menu callback for settings form.
1 string reference to 'boxes_settings'
- boxes_menu in ./
boxes.module - Implements hook_menu().
File
- ./
boxes.admin.inc, line 111
Code
function boxes_settings($form, $form_state) {
$form['boxes_edit_location'] = array(
'#title' => t('Edit location'),
'#type' => 'radios',
'#options' => array(
BOXES_EDIT_SEPARATE_PAGE => t('Separate page'),
BOXES_EDIT_IN_PLACE => t('Edit in place'),
),
'#default_value' => variable_get('boxes_edit_location', BOXES_EDIT_IN_PLACE),
'#description' => t('Boxes can either be edited directly where they are displayed, or on a separate page.'),
);
return system_settings_form($form);
}