You are here

function delta_ui_layout_configure_submit in Delta 7.2

Same name and namespace in other branches
  1. 7.3 delta_ui/delta_ui.admin.inc \delta_ui_layout_configure_submit()
1 string reference to 'delta_ui_layout_configure_submit'
delta_layout_configure in ./delta_ui.admin.inc
delta_template_configure function.

File

./delta_ui.module, line 177

Code

function delta_ui_layout_configure_submit($form, &$form_state) {
  $values = $form_state['values'];
  $values = $form_state['values'];
  $key = $values['var'];
  unset($values['var'], $values['submit'], $values['reset'], $values['form_id'], $values['op'], $values['form_build_id'], $values['form_token'], $values['toggle_logo'], $values['toggle_name'], $values['toggle_slogan'], $values['toggle_node_user_picture'], $values['toggle_comment_user_picture'], $values['toggle_comment_user_verification'], $values['toggle_favicon'], $values['toggle_main_menu'], $values['toggle_secondary_menu'], $values['default_logo'], $values['logo_path'], $values['logo_upload'], $values['default_favicon'], $values['favicon_path'], $values['favicon_upload'], $values['theme_settings_export_code']);
  variable_set($key, $values);
  drupal_set_message(t('The configuration options have been saved.'));
  cache_clear_all();
}