- ADMIN_SAVE_SETTINGS_POST();
-}
-
-// Prepare constants for template
-define('__TRANS_MAX_VALUE' , bigintval(getConfig('transfer_max')));
-define('__TRANS_BALANCE_VALUE', bigintval(getConfig('transfer_balance')));
-define('__TRANS_CODE_VALUE' , bigintval(getConfig('transfer_code')));
-
-// Autppurge expired transfer entries?
-switch (getConfig('ap_transfer')) {
- 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);