Response Message: Mood adjustments.

This commit is contained in:
Nate Jones 2014-08-02 07:02:31 +00:00
parent 0a27cb9cb1
commit f6d6965c8d
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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