Response message updates.

This commit is contained in:
Nate Jones
2014-02-23 08:38:10 +00:00
parent 44dce0b110
commit f4f85dbb0e
5 changed files with 13 additions and 37 deletions
+4 -12
View File
@@ -118,12 +118,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$_SESSION["reload_xml"] = true;
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profile_edit.php?id=$sip_profile_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-add']."\n";
echo "</div>\n";
require_once "resources/footer.php";
$_SESSION["message"] = $text['message-add'];
header("Location: sip_profile_edit.php?id=".$sip_profile_uuid);
return;
} //if ($action == "add")
@@ -146,12 +142,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$_SESSION["reload_xml"] = true;
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profile_edit.php?id=$sip_profile_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-update']."\n";
echo "</div>\n";
require_once "resources/footer.php";
$_SESSION["message"] = $text['message-update'];
header("Location: sip_profile_edit.php?id=".$sip_profile_uuid);
return;
} //if ($action == "update")
} //if ($_POST["persistformvar"] != "true")