You are here

function homebox_admin_flush_form in Homebox 6.2

Same name and namespace in other branches
  1. 6.3 homebox.admin.inc \homebox_admin_flush_form()
  2. 7.3 homebox.admin.inc \homebox_admin_flush_form()
  3. 7.2 homebox.admin.inc \homebox_admin_flush_form()
1 string reference to 'homebox_admin_flush_form'
homebox_menu in ./homebox.module
Implementation of hook_menu().

File

./homebox.admin.inc, line 554
Homebox admin file, takes care admin interface for homebox

Code

function homebox_admin_flush_form(&$form_state, $page) {
  $form['name'] = array(
    '#type' => 'value',
    '#value' => $page->name,
  );
  $form = confirm_form($form, t('Are you sure you want to flush user settings for !name?', array(
    '!name' => $page->name,
  )), 'admin/build/homebox', t('Executing this action will delete all user\'s settings for this page'), t('Flush settings'));
  return $form;
}