Response message updates.
This commit is contained in:
@@ -190,12 +190,8 @@ if (strlen($id) > 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
require_once "resources/header.php";
|
$_SESSION["message"] = $text['message-delete'];
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=domains.php\">\n";
|
header("Location: domains.php");
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo $text['message-delete']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -126,17 +126,13 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
unset($_SESSION['switch']);
|
unset($_SESSION['switch']);
|
||||||
|
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
require_once "resources/header.php";
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=domains.php\">\n";
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
if ($action == "update") {
|
if ($action == "update") {
|
||||||
echo $text['message-update']."\n";
|
$_SESSION["message"] = $text['message-update'];
|
||||||
}
|
}
|
||||||
if ($action == "add") {
|
if ($action == "add") {
|
||||||
echo $text['message-add']."\n";
|
$_SESSION["message"] = $text['message-add'];
|
||||||
}
|
}
|
||||||
echo "</div>\n";
|
header("Location: domains.php");
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
} //if ($_POST["persistformvar"] != "true")
|
} //if ($_POST["persistformvar"] != "true")
|
||||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||||
|
|||||||
@@ -56,12 +56,8 @@ if (strlen($id)>0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require_once "resources/header.php";
|
$_SESSION["message"] = $text['message-delete'];
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=domain_edit.php?id=$domain_uuid\">\n";
|
header("Location: domain_edit.php?id=".$domain_uuid);
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo $text['message-delete']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -219,17 +219,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
require_once "resources/header.php";
|
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=domain_edit.php?id=$domain_uuid\">\n";
|
|
||||||
echo "<div align='center'>\n";
|
|
||||||
if ($action == "add") {
|
|
||||||
echo $text['message-add']."\n";
|
|
||||||
}
|
|
||||||
if ($action == "update") {
|
if ($action == "update") {
|
||||||
echo $text['message-update']."\n";
|
$_SESSION["message"] = $text['message-update'];
|
||||||
}
|
}
|
||||||
echo "</div>\n";
|
if ($action == "add") {
|
||||||
require_once "resources/footer.php";
|
$_SESSION["message"] = $text['message-add'];
|
||||||
|
}
|
||||||
|
header("Location: domain_edit.php?id=".$domain_uuid);
|
||||||
return;
|
return;
|
||||||
} //if ($_POST["persistformvar"] != "true")
|
} //if ($_POST["persistformvar"] != "true")
|
||||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user