]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_holiday.php
Removed comment introduced by Profi-Concept, this comment should fine (in a much...
[mailer.git] / inc / modules / admin / what-config_holiday.php
index 1491ab30dd7fb5adeff6d40a73180cb4d841d4d7..aaa3f3dd35ebfe28b33caeb0b87eb50a3df22975 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * Mailer v0.2.1-FINAL                                Start: 07/24/2004 *
- * ================                             Last change: 11/24/2004 *
+ * ===================                          Last change: 11/24/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_holiday.php                          *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -49,7 +48,12 @@ if (isFormSent()) {
        adminSaveSettingsFromPostData();
 } else {
        // Prepare constants for the template
-       $content['holiday_locked'] = createTimeSelections(getConfig('holiday_lock')  , 'holiday_lock'  , 'WDh');
+       $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock')  , 'holiday_lock'  , 'WDh');
+
+       // Init all entries
+       foreach (array('holiday_mode_direct','holiday_mode_reset') as $entry) {
+               $content[$entry] = '';
+       } // END - foreach
 
        // Set all entries
        foreach (array('holiday_mode') as $entry) {