X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_holiday.php;h=00d9de8032e5d4562b85117964823644dbbbbf60;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=aaa3f3dd35ebfe28b33caeb0b87eb50a3df22975;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/admin/what-config_holiday.php b/inc/modules/admin/what-config_holiday.php index aaa3f3dd35..00d9de8032 100644 --- a/inc/modules/admin/what-config_holiday.php +++ b/inc/modules/admin/what-config_holiday.php @@ -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,14 +41,14 @@ 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_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