- 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_locked'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh');