domain_theme_reset_form

Definition

domain_theme_reset_form($domain)
domain/domain_theme/domain_theme.module, line 101

Code

<?php
function domain_theme_reset_form($domain) {
  $extra['domain_id'] = array('#type' => 'value', '#value' => $domain['domain_id']);
  $extra['#redirect'] = 'admin/build/domain/theme/'. $domain['domain_id'];
  $form = confirm_form($extra, t('Are you sure you wish to reset the theme for %name?', array('%name' => $domain['sitename'])), 'admin/build/domain/theme/'. $domain_id, t('Submitting this form will restore default theme for this domain.'));
  return $form;
}
?>