You are here

function omega_tools_theme_reset_confirm in Omega Tools 7.3

@todo

1 string reference to 'omega_tools_theme_reset_confirm'
omega_tools_menu in ./omega_tools.module
Implements hook_menu().

File

includes/omega_tools.admin.inc, line 6

Code

function omega_tools_theme_reset_confirm($form, &$form_state, $theme) {
  $themes = list_themes();
  $form_state['theme'] = $theme;
  return confirm_form($form, t('Are you sure you want to reset the theme %name?', array(
    '%name' => $themes[$theme]->info['name'],
  )), 'admin/appearance/settings/' . $theme, t('<p>You are about to purge the theme settings stored in the database for this theme.</p><p>This will revert to whatever information is set in the .info file, and erase any un-exported customizations.</p>'), t('Reset'), t('Cancel'));
}