diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 10cd30b178..21f46582e3 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -383,7 +383,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //redirect the user $_SESSION["message"] = $text['confirm-update']; - header("Location: ".PROJECT_PATH."/core/user_settings/user_dashboard.php"); + header("Location: ".$_REQUEST['return_url']); return; } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) @@ -496,13 +496,15 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //show the content echo "
\n"; + echo "\n"; + echo "\n"; echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index d92d7daf3a..8618707485 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -510,12 +510,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "
\n"; + echo "\n"; echo " ".$text['title']."\n"; echo "\n"; - echo " \n"; + echo "\n"; + echo " \n"; echo " \n"; echo "
\n"; echo "\n"; if ($action == "add") { - echo "\n"; + echo "\n"; } if ($action == "update") { - echo "\n"; + echo "\n"; } - echo "\n"; diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index b79d444818..273c047b94 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -50,7 +50,7 @@ else { //show the content echo "
".$text['header-destination-add']."".$text['header-destination-add']."".$text['header-destination-edit']."".$text['header-destination-edit'].""; + echo ""; echo " "; echo " \n"; echo "
\n"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo " \n"; echo " \n"; - echo " \n"; echo " \n"; diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index 50d7ca8ed6..79e97f4d8b 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -67,7 +67,7 @@ require_once "resources/header.php"; $document['title'] = $text['title-user_dashboard']; - echo "
".$text['header-user_dashboard']."
"; + echo "".$text['header-user_dashboard']."
"; echo $text['description-user_dashboard'];
".$text['header-destinations']."".$text['header-destinations']."\n"; if (permission_exists('destination_show_all')) { @@ -65,7 +65,7 @@ else { echo " \n"; echo "
\n"; + echo " \n"; echo " ".$text['description-destinations']."

\n"; echo "