X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-maintenance.php;h=a5aba07894765e050e1e5c219d283980e7bff840;hb=9b93cb80c13ee59fbd935b2988127cf4a1135000;hp=491e6107896e04d3c012439d386c054142e1ba07;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/admin/what-maintenance.php b/inc/modules/admin/what-maintenance.php index 491e610789..a5aba07894 100644 --- a/inc/modules/admin/what-maintenance.php +++ b/inc/modules/admin/what-maintenance.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -41,11 +41,11 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (isFormSent()) { // De- or activate maintenance mode - switch (getConfig('maintenance')) { + switch (getMaintenance()) { case 'Y': $target_mode = 'N'; $message = '{--ADMIN_MAINTENANCE_DEACTIVATED--}'; @@ -61,9 +61,9 @@ if (isFormSent()) { updateConfiguration('maintenance', $target_mode); // Load template - loadTemplate('admin_settings_saved', false, $message); + displayMessage($message); } else { - switch (getConfig('maintenance')) { + switch (getMaintenance()) { case 'Y': // Maintenance mode is active $message = '{--ADMIN_MAINTENANCE_MODE_IS_ACTIVE--}'; break;