You are here

function skinr_import_form_submit in Skinr 6

Submit handler for skinr settings import form.

File

./skinr.admin.inc, line 170

Code

function skinr_import_form_submit(&$form, &$form_state) {
  variable_set('skinr_' . $form_state['values']['theme'], $form_state['skinr']);
  drupal_set_message(t('Skinr settings for the theme %theme have been saved.', array(
    '%theme' => $form_state['values']['theme'],
  )));
  drupal_goto('admin/settings/skinr');
}