function demo_reset_confirm in Demonstration site (Sandbox / Snapshot) 5
Same name and namespace in other branches
- 6 demo.admin.inc \demo_reset_confirm()
- 7 demo.admin.inc \demo_reset_confirm()
1 string reference to 'demo_reset_confirm'
- demo_menu in ./
demo.module - Implementation of hook_menu().
File
- ./
demo.admin.inc, line 198 - Demonstration Site administrative pages
Code
function demo_reset_confirm() {
$form['dump'] = array(
'#type' => 'fieldset',
'#title' => t('Available snapshots'),
);
$form = array_merge_recursive($form, demo_get_dumps());
return confirm_form($form, t('Are you sure you want to reset the site?'), 'admin/build/demo', t('Resetting the site will overwrite all changes that have been made to this Drupal installation since the chosen snapshot.<br /><br /><div style="color: red; font-weight: bold; font-size: 18px;"><center>THIS ACTION CANNOT BE UNDONE!</center><br /></div>'), t('Reset'), t('Cancel'));
}