X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=a4f93e62d179fcde0f5dd03877488f31357d6202;hb=8ce32e702f3caa76b8d446902948e83e1e6854c8;hp=ddc1e01b1b16cd30d44b8f75516d1b9524da35f0;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index ddc1e01b1b..a4f93e62d1 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -14,11 +14,10 @@ * $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 * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 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 * @@ -42,18 +41,23 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // Save settings adminSaveSettingsFromPostData(); } else { // Prepare constants for the template - $content['holiday_locked'] = 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) { + $content[$entry] = ''; + } // END - foreach // 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