- define('__MAX_VALUE', $_CONFIG['holiday_max']);
- define('__LOCKED' , CREATE_TIME_SELECTIONS($_CONFIG['holiday_lock'] , "holiday_lock" , "WDh"));
- switch ($_CONFIG['holiday_mode'])
- {
- case "RESET":
- define('__RESET_DEFAULT' , " checked");
- define('__DIRECT_DEFAULT', "");
- break;
+ $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh');