]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_menu.php
Large code cleanups:
[mailer.git] / inc / modules / admin / what-config_menu.php
index 5cc6861570239ab3a93d32b913d13cf47b9933b1..406d4325f8b553eb6eecf0141603545a60b6b323 100644 (file)
@@ -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]