Response message updates.
This commit is contained in:
@@ -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;
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user