- 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;
+ loadTemplate('admin_settings_saved', false, $out);
+} else {
+ switch (getConfig('maintenance')) {
+ case 'Y': // Maintenance mode is active
+ $message = getMessage('ADMIN_MAINTENANCE_MODE_IS_ACTIVE');
+ break;