* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
- * For more information visit: http://www.mxchange.org *
+ * 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 *
* it under the terms of the GNU General Public License as published by *
} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
if (isFormSent()) {
// De- or activate maintenance mode
updateConfiguration('maintenance', $target_mode);
// Load template
- loadTemplate('admin_settings_saved', false, $message);
+ displayMessage($message);
} else {
switch (getMaintenance()) {
case 'Y': // Maintenance mode is active
} // END - switch
// Display form
- loadTemplate('admin_maintenance_form', false, $message);
+ loadTemplate('admin_maintenance_form', FALSE, $message);
}
// [EOF]