X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_register2.php;h=32f87c17edf19670e94ae982892ec6fe192b1085;hb=0176313718a3887a7d833d578142ae41d3a06a15;hp=99ae08bd7dada055ac34eafcc59a3e88cbc65733;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/admin/what-config_register2.php b/inc/modules/admin/what-config_register2.php index 99ae08bd7d..32f87c17ed 100644 --- a/inc/modules/admin/what-config_register2.php +++ b/inc/modules/admin/what-config_register2.php @@ -47,7 +47,7 @@ addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Calculate timestamp from selections... - setPostRequestParameter('ip_timeout', createTimestampFromSelections('ip_timeout', postRequestArray())); + setPostRequestParameter('ip_timeout', createEpocheTimeFromSelections('ip_timeout', postRequestArray())); setPostRequestParameter('least_cats', round(postRequestParameter('least_cats'))); // Save settings @@ -55,7 +55,7 @@ if (isFormSent()) { } 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');