Renamed templates, more usage of EL
[mailer.git] / inc / modules / admin / what-config_register2.php
index 80636e3fdb44c410d4d36fb367d4b10da75604fe..32f87c17edf19670e94ae982892ec6fe192b1085 100644 (file)
@@ -18,7 +18,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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');