mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Response message updates... from Pizza Hut!!!
This commit is contained in:
@@ -56,13 +56,9 @@ else {
|
|||||||
save_var_xml();
|
save_var_xml();
|
||||||
}
|
}
|
||||||
|
|
||||||
//redirect the user
|
|
||||||
require_once "resources/header.php";
|
$_SESSION["message"] = $text['message-delete'];
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=vars.php\">\n";
|
header("Location: vars.php");
|
||||||
echo "<div align='center'>\n";
|
return;
|
||||||
echo $text['message-delete']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -122,14 +122,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
//synchronize the configuration
|
//synchronize the configuration
|
||||||
save_var_xml();
|
save_var_xml();
|
||||||
|
|
||||||
//redirect the user
|
$_SESSION["message"] = $text['message-add'];
|
||||||
require_once "resources/header.php";
|
header("Location: vars.php");
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=vars.php\">\n";
|
return;
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo $text['message-add']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
|
||||||
} //if ($action == "add")
|
} //if ($action == "add")
|
||||||
|
|
||||||
if ($action == "update" && permission_exists('var_edit')) {
|
if ($action == "update" && permission_exists('var_edit')) {
|
||||||
@@ -151,14 +146,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
//synchronize the configuration
|
//synchronize the configuration
|
||||||
save_var_xml();
|
save_var_xml();
|
||||||
|
|
||||||
//redirect the user
|
$_SESSION["message"] = $text['message-update'];
|
||||||
require_once "resources/header.php";
|
header("Location: vars.php");
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=vars.php\">\n";
|
return;
|
||||||
echo "<div align='center'>\n";
|
|
||||||
echo $text['message-update']."\n";
|
|
||||||
echo "</div>\n";
|
|
||||||
require_once "resources/footer.php";
|
|
||||||
return;
|
|
||||||
} //if ($action == "update")
|
} //if ($action == "update")
|
||||||
} //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