Response message updates.

This commit is contained in:
Nate Jones
2014-02-21 03:02:55 +00:00
parent 4f7c3a03ce
commit 2e148255ab
2 changed files with 25 additions and 35 deletions
+6 -10
View File
@@ -35,9 +35,9 @@ else {
}
//add multi-lingual support
require_once "app/calls/app_languages.php";
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
if (count($_GET)>0) {
@@ -93,13 +93,9 @@ if (strlen($id)>0) {
}
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=conferences.php\">\n";
echo "<div align='center'>\n";
echo "".$text['confirm-delete']."\n";
echo "</div>\n";
require_once "resources/footer.php";
return;
$_SESSION["message"] = $text['confirm-delete'];
header("Location: conferences.php");
return;
?>