X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_menu.php;h=406d4325f8b553eb6eecf0141603545a60b6b323;hb=a18efdcd57ba91893f0958a457b5c58639b135c3;hp=5cc6861570239ab3a93d32b913d13cf47b9933b1;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/modules/admin/what-config_menu.php b/inc/modules/admin/what-config_menu.php index 5cc6861570..406d4325f8 100644 --- a/inc/modules/admin/what-config_menu.php +++ b/inc/modules/admin/what-config_menu.php @@ -17,7 +17,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,8 @@ if (isFormSent()) { // Save settings adminSaveSettingsFromPostData(); } else { - // Set all entries - foreach (array('guest_menu_advert_enabled','member_menu_advert_enabled') as $entry) { - $content[$entry . '_y'] = ''; - $content[$entry . '_n'] = ''; - $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"'; - } // END - if - // Load form template - loadTemplate('admin_config_menu', false, $content); + loadTemplate('admin_config_menu'); } // [EOF]