X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-maintenance.php;h=e0d4f530cfdee9179f13a0e9782d16e18ab46108;hb=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;hp=491e6107896e04d3c012439d386c054142e1ba07;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/admin/what-maintenance.php b/inc/modules/admin/what-maintenance.php index 491e610789..e0d4f530cf 100644 --- a/inc/modules/admin/what-maintenance.php +++ b/inc/modules/admin/what-maintenance.php @@ -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--}'; @@ -63,7 +63,7 @@ if (isFormSent()) { // Load template loadTemplate('admin_settings_saved', false, $message); } else { - switch (getConfig('maintenance')) { + switch (getMaintenance()) { case 'Y': // Maintenance mode is active $message = '{--ADMIN_MAINTENANCE_MODE_IS_ACTIVE--}'; break;