You are here

function nitro_theme_reset_confirm in Arctica Nitro 7

@todo

1 string reference to 'nitro_theme_reset_confirm'
nitro_menu in ./nitro.module
Implements hook_menu().

File

includes/nitro.admin.inc, line 6

Code

function nitro_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 reset the theme setting to the original defaults in the .info file.</p><p>This cannot be undone.</p>'), t('Reset'), t('Cancel'));
}