- ADMIN_SAVE_SETTINGS($_POST);
-}
-
-// Prepare constants for template
-define('__TRANS_MAX_VALUE' , $_CONFIG['transfer_max']);
-define('__TRANS_BALANCE_VALUE', $_CONFIG['transfer_balance']);
-define('__TRANS_CODE_VALUE' , $_CONFIG['transfer_code']);
-
-// Autppurge expired transfer entries?
-switch ($_CONFIG['autopurge_inactive']) {
- case 'Y':
- define('__YES_AP', " selected=\"selected\"");
- define('__NO_AP', "");
- break;
-
- case 'N':
- define('__YES_AP', "");
- define('__NO_AP', " selected=\"selected\"");
- break;
+ adminSaveSettingsFromPostData();
+} else {
+ // Time selection box
+ $content['age_selection'] = createConfigurationTimeSelections('transfer_age' , 'MWDh');
+ $content['timeout_selection'] = createConfigurationTimeSelections('transfer_timeout', 'MWDh');
+
+ // Load template
+ loadTemplate('admin_config_transfer', false, $content);