X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_removeip.php;h=357af091318d933dbf027b98cc6c39dda480f1e7;hb=1d22c70e65e858422ee0d17a7612f4b5c0757a42;hp=02bbac6b00f25960089df949c663120bc59bdfac;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/admin/what-config_removeip.php b/inc/modules/admin/what-config_removeip.php index 02bbac6b00..357af09131 100644 --- a/inc/modules/admin/what-config_removeip.php +++ b/inc/modules/admin/what-config_removeip.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * 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 * @@ -41,19 +41,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); -if (isFormSent()) { +if (isFormSent('save_config')) { // Save configuration adminSaveSettingsFromPostData(); } else { - // Prepare data - foreach (array('removeip_anon_ip','removeip_anon_host','removeip_anon_ua','removeip_anon_ref','removeip_admin_show','removeip_guest_show','removeip_member_show','removeip_sponsor_show') as $entry) { - $content[$entry . '_y'] = ''; - $content[$entry . '_n'] = ''; - $content[$entry . '_' . strtolower(getConfig($entry))] = ' selected="selected"'; - } // END - if - // Prepare more entries foreach (array('anonymous_ip_local','anonymous_ip_zero','anonymous_ip_random') as $entry) { $content[$entry] = ''; @@ -65,7 +58,7 @@ if (isFormSent()) { } // END - foreach // Load template - loadTemplate('admin_config_removeip', false, $content); + loadTemplate('admin_config_removeip', FALSE, $content); } // [EOF]