Response message updates, minor language patch.

This commit is contained in:
Nate Jones
2014-02-23 07:43:37 +00:00
parent 37f479e578
commit a5f3d8738e
3 changed files with 17 additions and 18 deletions
+8 -6
View File
@@ -34,6 +34,12 @@ else {
exit;
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
if (count($_GET)>0) {
$id = $_GET["id"];
}
@@ -65,11 +71,7 @@ if (strlen($id)>0) {
}
//redirect the user
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=recordings.php\">\n";
echo "<div align='center'>\n";
echo "Delete Complete\n";
echo "</div>\n";
require_once "resources/footer.php";
$_SESSION["message"] = $text['message-delete'];
header("Location: recordings.php");
return;
?>