function biblio_admin_types_reset_form in Bibliography Module 6.2
Same name and namespace in other branches
- 6 biblio.admin.inc \biblio_admin_types_reset_form()
- 7 includes/biblio.admin.inc \biblio_admin_types_reset_form()
- 7.2 includes/biblio.admin.inc \biblio_admin_types_reset_form()
1 string reference to 'biblio_admin_types_reset_form'
- biblio_menu in ./
biblio.module - Implements hook_menu().
File
- includes/
biblio.admin.inc, line 1600 - Administrative files for the biblio module.
Code
function biblio_admin_types_reset_form() {
$form['reset'] = array(
'#type' => 'value',
'#value' => 'reset',
);
$output = confirm_form($form, t('Are you sure you want to reset ALL the field definitions to the defaults?') . ' ', $_GET['destination'] ? $_GET['destination'] : 'admin/settings/biblio/fields/type', t('By doing this, you will loose all customizations you have made to the field titles, <b><u>this action cannot be undone</u></b>!'), t('Reset!'), t('Cancel'));
return $output;
}