X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_menu.php;h=321e03a2d9efa8f4ade804053ec06d5c59f57b30;hb=80769d81cc67b9213ea436e07365982fb3e7600d;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..321e03a2d9 100644 --- a/inc/modules/admin/what-config_menu.php +++ b/inc/modules/admin/what-config_menu.php @@ -16,7 +16,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,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]