After adding or editing a device setting redirect back to device_edit.php.
This commit is contained in:
@@ -57,7 +57,7 @@ if (strlen($id)>0) {
|
|||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_settings.php?id=$device_uuid\">\n";
|
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_edit.php?id=$device_uuid\">\n";
|
||||||
echo "<div align='center'>\n";
|
echo "<div align='center'>\n";
|
||||||
echo $text['message-delete']."\n";
|
echo $text['message-delete']."\n";
|
||||||
echo "</div>\n";
|
echo "</div>\n";
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
|
|
||||||
//redirect the browser
|
//redirect the browser
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_settings.php?id=$device_uuid\">\n";
|
echo "<meta http-equiv=\"refresh\" content=\"2;url=device_edit.php?id=$device_uuid\">\n";
|
||||||
echo "<div align='center'>\n";
|
echo "<div align='center'>\n";
|
||||||
if ($action == "add") {
|
if ($action == "add") {
|
||||||
echo $text['message-add']."\n";
|
echo $text['message-add']."\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user