X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_menu.php;h=406d4325f8b553eb6eecf0141603545a60b6b323;hb=0a37fc5afcd828646d4e62e68fea07c3d2c54a87;hp=e02dffb2d5dbf2ba96cfcdcd7763c11dc519dca3;hpb=db1f357f01e1ebb16a31fdcd3e432a1d19b54ae3;p=mailer.git diff --git a/inc/modules/admin/what-config_menu.php b/inc/modules/admin/what-config_menu.php index e02dffb2d5..406d4325f8 100644 --- a/inc/modules/admin/what-config_menu.php +++ b/inc/modules/admin/what-config_menu.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 - 2011 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 * @@ -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]