]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_holiday.php
Bad things are now 'classified' as bad (CSS class 'bad' is being used instead of...
[mailer.git] / inc / modules / admin / what-config_holiday.php
index 95e715ffd5ba38609fb33af112e4732544c70223..a4f93e62d179fcde0f5dd03877488f31357d6202 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 *
@@ -48,7 +48,7 @@ if (isFormSent()) {
        adminSaveSettingsFromPostData();
 } else {
        // Prepare constants for the template
-       $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock')  , 'holiday_lock'  , 'WDh');
+       $content['holiday_lock'] = createConfigurationTimeSelections('holiday_lock', 'WDh');
 
        // Init all entries
        foreach (array('holiday_mode_direct','holiday_mode_reset') as $entry) {
@@ -57,7 +57,7 @@ if (isFormSent()) {
 
        // Set all entries
        foreach (array('holiday_mode') as $entry) {
-               $content[$entry . '_' . strtolower(getConfig('holiday_mode'))] = ' checked="checked"';
+               $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
        } // END - if
 
        // Load form template