Explorar o código

Response Message: Mood adjustments.

Nate Jones %!s(int64=11) %!d(string=hai) anos
pai
achega
0789eba2fb

+ 1 - 0
core/default_settings/default_settings.php

@@ -186,6 +186,7 @@ if (sizeof($_REQUEST) > 0) {
 		else {
 			// set message
 			$_SESSION["message"] = $text['message-delete_failed'];
+			$_SESSION["message_mood"] = "negative";
 		}
 
 		header("Location: default_settings.php");

+ 1 - 0
core/notifications/notification_edit.php

@@ -263,6 +263,7 @@ else {
 				$project_news == 'false'
 				) {
 				$_SESSION["message"] = $_SESSION["message"]." - ".$text['message-no_channels'];
+				$_SESSION["message_mood"] = 'alert';
 			}
 			// redirect
 			header("Location: notification_edit.php");

+ 1 - 0
core/users/usersupdate.php

@@ -132,6 +132,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
 
 		if ($msg_error) {
 			$_SESSION["message"] = $msg_error;
+			$_SESSION["message_mood"] = 'negative';
 			header("Location: usersupdate.php?id=".$user_uuid);
 			exit;
 		}