X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_register2.php;h=711c093e322241a1bb2520fd9b98b6442daf586d;hp=0dc37b89fcc871a577dd5a2f13713786df0dfd59;hb=fb573d4c3d981d52fd969a6d7167d8dc839be688;hpb=03486c08011d4c233e2455c8e5335ecc0818333f diff --git a/inc/modules/admin/what-config_register2.php b/inc/modules/admin/what-config_register2.php index 0dc37b89fc..711c093e32 100644 --- a/inc/modules/admin/what-config_register2.php +++ b/inc/modules/admin/what-config_register2.php @@ -19,7 +19,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -47,15 +47,15 @@ addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Calculate timestamp from selections... - setPostRequestParameter('ip_timeout', createEpocheTimeFromSelections('ip_timeout', postRequestArray())); - setPostRequestParameter('least_cats', round(postRequestParameter('least_cats'))); + setPostRequestElement('ip_timeout', createEpocheTimeFromSelections('ip_timeout', postRequestArray())); + setPostRequestElement('least_cats', round(postRequestElement('least_cats'))); // Save settings adminSaveSettingsFromPostData(); } else { // Remember stuff in constants $content['display_refid'] = addSelectionBox('yn', getDisplayRefid() , 'display_refid'); - $content['ip_timeout'] = createTimeSelections(getIpTimeout() , 'ip_timeout', 'Dhm'); + $content['ip_timeout'] = createConfigurationTimeSelections('ip_timeout', 'Dhm'); $content['check_double_email'] = addSelectionBox('yn', getCheckDoubleEmail() , 'check_double_email'); $content['register_default'] = addSelectionBox('yn', getRegisterDefault() , 'register_default'); $content['register_generate_password_empty'] = addSelectionBox('yn', getRegisterGeneratePasswordEmpty(), 'register_generate_password_empty');