* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Save settings
adminSaveSettingsFromPostData();
} else {
} // 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);
+ loadTemplate('admin_config_holiday', FALSE, $content);
}
// [EOF]