function _location_util_form in Location 5.3
Location Utilities form.
1 call to _location_util_form()
- location_util_form in ./
location.d5.inc - Callback for location utilities page of admin settings form.
File
- ./
location.admin.inc, line 348 - Admin forms for Location.
Code
function _location_util_form() {
$form['province_clear'] = array(
'#type' => 'fieldset',
'#title' => t('Clear province cache'),
'#description' => t('If you have modified location.xx.inc files, you will need to clear the province cache to get Location to recognize the modifications.'),
);
$form['province_clear']['province_clear_submit'] = array(
'#type' => 'submit',
'#value' => t('Clear province cache'),
'#submit' => array(
'location_util_form_clear_province_cache_submit',
),
);
$form['supported_countries_clear'] = array(
'#type' => 'fieldset',
'#title' => t('Clear supported country list'),
'#description' => t('If you have added support for a new country, you will need to clear the supported country list to get Location to recognize the modifications.'),
);
$form['supported_countries_clear']['supported_countries_clear_submit'] = array(
'#type' => 'submit',
'#value' => t('Clear supported country list'),
'#submit' => array(
'location_util_form_clear_supported_countries_submit',
),
);
return $form;
}