]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / modules / admin / what-config_birthday.php
index cac121f34ca9c2178db4b31b3bba2aa2f3878d6c..d42f8d90882e4e584efb44d85ec7e6663131097a 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 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,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]