function exif_admin_settings_form_submit in Exif 5
File
- ./
exif.module, line 110
Code
function exif_admin_settings_form_submit($form_id, $values) {
$op = isset($_POST['op']) ? $_POST['op'] : '';
if ($op == t('Reset to defaults')) {
exif_reset_settings();
drupal_set_message(t('The configuration options have been reset to their default values.'));
}
elseif ($op == t('Save configuration')) {
exif_save_settings($values);
drupal_set_message(t('The configuration options have been saved.'));
}
}