]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-maintenance.php
Old lost code removed in modules.php, naming convention applied:
[mailer.git] / inc / modules / admin / what-maintenance.php
index 145cc95d3ecaef412aee29f44ee2025730eb3a26..5f3154dcea12e19889f8bc62ad40c4abd03b41c7 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
@@ -50,12 +50,12 @@ if (isFormSent()) {
        switch (getConfig('maintenance')) {
                case 'Y':
                        $target_mode = 'N';
-                       $out = getMessage('ADMIN_MAINTENANCE_DEACTIVATED');
+                       $out = '{--ADMIN_MAINTENANCE_DEACTIVATED--}';
                        break;
 
                case 'N':
                        $target_mode = 'Y';
-                       $out = getMessage('ADMIN_MAINTENANCE_ACTIVATED');
+                       $out = '{--ADMIN_MAINTENANCE_ACTIVATED--}';
                        break;
        }
 
@@ -67,11 +67,11 @@ if (isFormSent()) {
 } else {
        switch (getConfig('maintenance')) {
                case 'Y': // Maintenance mode is active
-                       $message = getMessage('ADMIN_MAINTENANCE_MODE_IS_ACTIVE');
+                       $message = '{--ADMIN_MAINTENANCE_MODE_IS_ACTIVE--}';
                        break;
 
                case 'N': // Maintenance mode is inactive
-                       $message = getMessage('ADMIN_MAINTENANCE_MODE_IS_INACTIVE');
+                       $message = '{--ADMIN_MAINTENANCE_MODE_IS_INACTIVE--}';
                        break;
        }