X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_register2.php;h=80636e3fdb44c410d4d36fb367d4b10da75604fe;hb=64ad7e20acdc9b16363e25cecc3e7f2a0f435a37;hp=8fe76d071b3f10bbaf31eee67d5eefa0c43ecb65;hpb=0fe94791af05018868398d3c6c87d2b16f9557a2;p=mailer.git diff --git a/inc/modules/admin/what-config_register2.php b/inc/modules/admin/what-config_register2.php index 8fe76d071b..80636e3fdb 100644 --- a/inc/modules/admin/what-config_register2.php +++ b/inc/modules/admin/what-config_register2.php @@ -12,7 +12,13 @@ * -------------------------------------------------------------------- * * Adapted from what-config_reg.php * * -------------------------------------------------------------------- * + * $Revision:: $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -34,10 +40,10 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Calculate timestamp from selections... @@ -48,11 +54,11 @@ if (isFormSent()) { adminSaveSettingsFromPostData(); } else { // Remember stuff in constants - $content['display_refid'] = addSelectionBox('yn', getConfig('display_refid') , 'display_refid'); - $content['ip_timeout'] = createTimeSelections(getConfig('ip_timeout') , 'ip_timeout', 'Dhm'); - $content['check_double_email'] = addSelectionBox('yn', getConfig('check_double_email'), 'check_double_email'); - $content['check_double_pass'] = addSelectionBox('yn', getConfig('check_double_pass') , 'check_double_pass'); - $content['register_default'] = addSelectionBox('yn', getConfig('register_default') , 'register_default'); + $content['display_refid'] = addSelectionBox('yn', getDisplayRefid() , 'display_refid'); + $content['ip_timeout'] = createTimeSelections(getIpTimeout() , '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'); // Load normal template loadTemplate('admin_config_register2', false, $content);