From e01388d12fc0fef834e62236be919fc3fce3bafb Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sun, 23 Feb 2014 08:41:57 +0000 Subject: [PATCH] Response message updates. --- app/time_conditions/time_condition_add.php | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/app/time_conditions/time_condition_add.php b/app/time_conditions/time_condition_add.php index 076c15ccd9..d8a9a3d0e4 100644 --- a/app/time_conditions/time_condition_add.php +++ b/app/time_conditions/time_condition_add.php @@ -1,4 +1,4 @@ -0 && strlen($_POST["persistformvar"]) == 0) { } //redirect the browser - require_once "resources/header.php"; - echo "\n"; - echo "
\n"; - echo "".$text['confirm-update-complete']."\n"; - echo "
\n"; - require_once "resources/footer.php"; + $_SESSION["message"] = $text['confirm-update-complete']; + header("Location: ".PROJECT_PATH."/app/dialplan/dialplans.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1"); return; } //end if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) @@ -789,13 +785,13 @@ echo "\n"; //echo "\n"; //echo " \n"; -if ($dialplan_enabled == "true") { +if ($dialplan_enabled == "true") { echo " \n"; } else { echo " \n"; } -if ($dialplan_enabled == "false") { +if ($dialplan_enabled == "false") { echo " \n"; } else {