adminSaveSettingsFromPostData();
} else {
// Prepare constants for the template
- $content['holiday_locked'] = createTimeSelections(getConfig('holiday_lock') , 'holiday_lock' , 'WDh');
+ $content['holiday_lock'] = createTimeSelections(getConfig('holiday_lock') , '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) {
</tr>
<tr>
<td width="300" style="padding-left: 5px">{--ADMIN_HOLIDAY_LOCKED--}:</td>
- <td width="270">$content[locked]</td>
+ <td width="270">$content[holiday_lock]</td>
</tr>
<tr>
<td class="bottom" width="300" style="padding-left: 5px">{--ADMIN_HOLIDAY_MODE--}:</td>
<td class="bottom" width="270">
- <input type="radio" class="form_field" name="holiday_mode" class="form_field" value="RESET"$content[holidy_mode_reset] />
+ <input type="radio" class="form_field" name="holiday_mode" class="form_field" value="RESET"$content[holiday_mode_reset] />
{--ADMIN_HOLIDAY_MODE_RESET--}<br />
- <input type="radio" class="form_field" name="holiday_mode" class="form_field" value="DIRECT"$content[holidy_mode_direct] />
+ <input type="radio" class="form_field" name="holiday_mode" class="form_field" value="DIRECT"$content[holiday_mode_direct] />
{--ADMIN_HOLIDAY_MODE_DIRECT--}
</td>
</tr>