Response message updates.
This commit is contained in:
@@ -402,6 +402,11 @@
|
|||||||
$text['message-update']['pt-pt'] = "Actualização Efectuada";
|
$text['message-update']['pt-pt'] = "Actualização Efectuada";
|
||||||
$text['message-update']['fr-fr'] = "Mis à Jour";
|
$text['message-update']['fr-fr'] = "Mis à Jour";
|
||||||
|
|
||||||
|
$text['message-copy']['en-us'] = "Copy Completed";
|
||||||
|
$text['message-copy']['es-cl'] = "Copia Completada";
|
||||||
|
$text['message-copy']['pt-pt'] = "Cópia Efectuada";
|
||||||
|
$text['message-copy']['fr-fr'] = "Copié";
|
||||||
|
|
||||||
$text['message-delete']['en-us'] = "Delete Completed";
|
$text['message-delete']['en-us'] = "Delete Completed";
|
||||||
$text['message-delete']['es-cl'] = "Eliminación Completada";
|
$text['message-delete']['es-cl'] = "Eliminación Completada";
|
||||||
$text['message-delete']['pt-pt'] = "Remoção Efectuada";
|
$text['message-delete']['pt-pt'] = "Remoção Efectuada";
|
||||||
|
|||||||
@@ -35,6 +35,12 @@ else {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//add multi-lingual support
|
||||||
|
require_once "app_languages.php";
|
||||||
|
foreach($text as $key => $value) {
|
||||||
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
|
}
|
||||||
|
|
||||||
//set the http get/post variable(s) to a php variable
|
//set the http get/post variable(s) to a php variable
|
||||||
if (isset($_REQUEST["id"])) {
|
if (isset($_REQUEST["id"])) {
|
||||||
$gateway_uuid = check_str($_REQUEST["id"]);
|
$gateway_uuid = check_str($_REQUEST["id"]);
|
||||||
@@ -147,12 +153,8 @@ else {
|
|||||||
save_gateway_xml();
|
save_gateway_xml();
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require_once "resources/header.php";
|
$_SESSION["message"] = $text['message-copy'];
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=gateways.php\">\n";
|
header("Location: gateways.php");
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo "Copy Complete\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -120,12 +120,8 @@ if (strlen($_GET["id"])>0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//redirect the users
|
//redirect the users
|
||||||
require_once "resources/header.php";
|
$_SESSION["message"] = $text['message-delete'];
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=gateways.php\">\n";
|
header("Location: gateways.php");
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo $text['message-delete']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -276,17 +276,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
if (isset($action)) {
|
if (isset($action)) {
|
||||||
require_once "resources/header.php";
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=gateways.php\">\n";
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
if ($action == "add") {
|
if ($action == "add") {
|
||||||
echo " ".$text['message-add']."\n";
|
$_SESSION["message"] = $text['message-add'];
|
||||||
}
|
}
|
||||||
if ($action == "update") {
|
if ($action == "update") {
|
||||||
echo " ".$text['message-update']."\n";
|
$_SESSION["message"] = $text['message-update'];
|
||||||
}
|
}
|
||||||
echo "</div>\n";
|
header("Location: gateways.php");
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user