mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Response Message: Mood adjustments.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user