Response message updates.

This commit is contained in:
Nate Jones
2014-02-23 07:15:37 +00:00
parent e4c196e238
commit daf29a4560
4 changed files with 33 additions and 34 deletions
+9 -7
View File
@@ -35,12 +35,18 @@ else {
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
if (isset($_REQUEST["id"])) {
$gateway_uuid = check_str($_REQUEST["id"]);
}
//get the data
//get the data
$sql = "select * from v_gateways ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and gateway_uuid = '$gateway_uuid' ";
@@ -147,12 +153,8 @@ else {
save_gateway_xml();
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=gateways.php\">\n";
echo "<div align='center'>\n";
echo "Copy Complete\n";
echo "</div>\n";
require_once "resources/footer.php";
$_SESSION["message"] = $text['message-copy'];
header("Location: gateways.php");
return;
?>