- LOAD_TEMPLATE("admin_settings_saved", false, $out);
-}
- else
-{
- switch ($_CONFIG['maintenance'])
- {
- case 'Y': // Maintenance mode is active
- define('ADMIN_MAINTENANCE_MODE', ADMIN_MAINTENANCE_MODE_IS_ACTIVE);
- break;
+ displayMessage($message);
+} else {
+ switch (getMaintenance()) {
+ case 'Y': // Maintenance mode is active
+ $message = '{--ADMIN_MAINTENANCE_MODE_IS_ACTIVE--}';
+ break;
+
+ case 'N': // Maintenance mode is inactive
+ $message = '{--ADMIN_MAINTENANCE_MODE_IS_INACTIVE--}';
+ break;
+ } // END - switch