]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
Extension ext-network continued:
[mailer.git] / inc / modules / admin / what-config_birthday.php
index cac121f34ca9c2178db4b31b3bba2aa2f3878d6c..951158287428490bdb701e21d94861a5e4525de9 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,18 +47,8 @@ if (isFormSent()) {
        // Save configuration
        adminSaveSettingsFromPostData();
 } else {
-       // Init all other template entries
-       foreach (array('active_y','active_n','mode_direct','mode_ref') as $entry) {
-               $content[$entry] = '';
-       } // END - foreach
-
-       // Set current selections
-       foreach (array('active','mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"';
-       } // END - foreach
-
        // Display form
-       loadTemplate('admin_config_birthday', false, $content);
+       loadTemplate('admin_config_birthday');
 }
 
 // [EOF]