You are here

function lingotek_admin_advanced_parsing_form_submit in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
  2. 7.3 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
  3. 7.4 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
  4. 7.6 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
1 string reference to 'lingotek_admin_advanced_parsing_form_submit'
lingotek_admin_advanced_parsing_form in ./lingotek.admin.inc
Advanced Parsing - XML Configuration

File

./lingotek.admin.inc, line 1144

Code

function lingotek_admin_advanced_parsing_form_submit(&$form, &$form_state) {
  if (isset($form_state['values']['op']) && $form_state['values']['op'] == 'Reset to Defaults') {
    lingotek_set_default_advanced_xml(TRUE);
    drupal_set_message(t('The configuration settings have been reset to system defaults.'));
  }
  else {
    system_settings_form_submit($form, $form_state);
  }
}