You are here

function biblio_admin_settings_form_submit in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 includes/biblio.admin.inc \biblio_admin_settings_form_submit()
  2. 6 biblio.admin.inc \biblio_admin_settings_form_submit()
  3. 7.2 includes/biblio.admin.inc \biblio_admin_settings_form_submit()

Form handler for biblio_admin_settings.

1 string reference to 'biblio_admin_settings_form_submit'
biblio_admin_settings in includes/biblio.admin.inc
Implementation of hook_settings().

File

includes/biblio.admin.inc, line 740
biblio.admin.inc

Code

function biblio_admin_settings_form_submit($form, &$form_state) {

  // If ($form_state['values']['biblio_keyword_freetagging'] && $form_state['values']['biblio_keyword_vocabulary']) {
  //    if ($vocabulary = taxonomy_vocabulary_load(variable_get('biblio_keyword_vocabulary', 0))) {
  //      $vocabulary = (array) $vocabulary;
  //      $vocabulary['nodes']['biblio'] = 1;
  //      taxonomy_save_vocabulary($vocabulary);
  //    }
  //  }
  if ($form['#biblio_base'] != $form_state['values']['biblio_base'] || $form['biblio_profile']['#biblio_show_profile'] != $form_state['values']['biblio_show_profile'] || $form['biblio_profile']['#biblio_my_pubs_menu'] != $form_state['values']['biblio_my_pubs_menu']) {
    menu_rebuild();
  }
}