function lingotek_admin_advanced_parsing_form_submit in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
- 7.3 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
- 7.5 lingotek.admin.inc \lingotek_admin_advanced_parsing_form_submit()
- 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 1016
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);
}
}