domain_theme_reset_form

Versions
domain
domain_theme_reset_form($form_state, $domain)

FormsAPI for resetting a domain themes.

Parameters

$domain The $domain object for the selected domain.

Return value

Themed HTML form.

Code

domain_theme/domain_theme.admin.inc, line 219

<?php
function domain_theme_reset_form($form_state, $domain) {
  $extra['domain_id'] = array('#type' => 'value', '#value' => $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['domain_id'], t('Submitting this form will restore default theme for this domain.'));
  return $form;
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List