- 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']);
+ adminSaveSettingsFromPostData();
+} else {
+ // Init all Y/N elements
+ foreach (array('ap_transfer') as $entry) {
+ $content[$entry . '_y'] = '';
+ $content[$entry . '_n'] = '';
+ $content[$entry . '_' . strtolower(getConfig($entry))] = ' selected="selected"';
+ } // END - if