} // END - foreach
// Set all entries
- foreach (array('holiday_mode') as $entry) {
- $content[$entry . '_' . strtolower(getConfig($entry))] = ' checked="checked"';
- } // END - if
+ $content = merge_array($content, getCheckedConfig(array('holiday_mode')));
// Load form template
loadTemplate('admin_config_holiday', FALSE, $content);