]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_birthday.php
Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / modules / admin / what-config_birthday.php
index f7f9f6074b553758feb011773926ed6770169244..83c2c54b49181c2632c8208f760154ad4d2f2773 100644 (file)
@@ -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 *
@@ -41,20 +41,20 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 if (isFormSent()) {
        // Save configuration
        adminSaveSettingsFromPostData();
 } else {
-       // Init all other templates
-       foreach (array('active_y','active_n','mode_direct','mode_ref') as $entry) {
+       // Init all other template entries
+       foreach (array('active_y','active_n') as $entry) {
                $content[$entry] = '';
        } // END - foreach
 
        // Set current selections
-       foreach (array('active','mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"';
+       foreach (array('active') as $entry) {
+               $content['birthday_' . $entry . '_' . strtolower(getConfig('birthday_' . $entry))] = ' checked="checked"';
        } // END - foreach
 
        // Display form