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
@@ -172,7 +172,7 @@
save_gateway_xml();
//redirect the user
messages::add($text['message-copy']);
message::add($text['message-copy']);
header("Location: gateways.php");
return;
+1 -1
View File
@@ -113,7 +113,7 @@ if (strlen($_GET["id"])>0) {
}
//redirect the users
messages::add($text['message-delete']);
message::add($text['message-delete']);
header("Location: gateways.php");
return;
+3 -3
View File
@@ -74,7 +74,7 @@
}
unset($prep_statement, $row);
if ($total_gateways >= $_SESSION['limit']['gateways']['numeric']) {
messages::add($text['message-maximum_gateways'].' '.$_SESSION['limit']['gateways']['numeric'], 'negative');
message::add($text['message-maximum_gateways'].' '.$_SESSION['limit']['gateways']['numeric'], 'negative');
header('Location: gateways.php');
return;
}
@@ -268,10 +268,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: gateways.php");
return;