Change messages class to message

This commit is contained in:
markjcrane
2018-08-31 03:09:01 +00:00
parent 196a1787a4
commit 9717543a46
205 changed files with 323 additions and 323 deletions
+1 -1
View File
@@ -161,7 +161,7 @@
$_SESSION["reload_xml"] = true;
//redirect the user
messages::add($text['message-copy']);
message::add($text['message-copy']);
header("Location: ".PROJECT_PATH."/app/sip_profiles/sip_profiles.php");
return;
+1 -1
View File
@@ -109,7 +109,7 @@
}
//redirect the browser
messages::add($text['message-delete']);
message::add($text['message-delete']);
header("Location: sip_profiles.php");
return;
@@ -70,7 +70,7 @@
}
//redirect the user
messages::add($text['message-delete']);
message::add($text['message-delete']);
header('Location: sip_profile_edit.php?id='.$sip_profile_uuid);
?>
+2 -2
View File
@@ -167,10 +167,10 @@
//redirect the user
if (isset($action)) {
if ($action == "add") {
messages::add($text['message-add']);
message::add($text['message-add']);
}
if ($action == "update") {
messages::add($text['message-update']);
message::add($text['message-update']);
}
header('Location: sip_profile_edit.php?id='.escape($sip_profile_uuid));
return;
@@ -59,7 +59,7 @@ if (strlen($id)>0) {
}
//redirect the browser
messages::add($text['message-delete']);
message::add($text['message-delete']);
header("Location: sip_profile_edit.php?id=".$sip_profile_uuid);
return;