]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-maintenance.php
A lot CSS classes rewritten, please update all your themes.
[mailer.git] / inc / modules / admin / what-maintenance.php
index 7372bf6071d6f103346e737995ace052f5ee663d..5f3154dcea12e19889f8bc62ad40c4abd03b41c7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 05/06/2004 *
- * ================                             Last change: 05/06/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 05/06/2004 *
+ * ===================                          Last change: 05/06/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-maintenance.php                             *
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -39,7 +40,7 @@
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
@@ -49,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;
        }
 
@@ -66,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;
        }