Response message updates.

This commit is contained in:
Nate Jones
2014-02-23 09:06:25 +00:00
parent ad7a165708
commit 1153e97134
2 changed files with 6 additions and 18 deletions

View File

@@ -90,12 +90,8 @@ if (strlen($id)>0) {
}
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=apps.php\">\n";
echo "<div align='center'>\n";
echo $text['message-delete']."\n";
echo "</div>\n";
require_once "resources/footer.php";
$_SESSION["message"] = $text['message-delete'];
header("Location: apps.php");
return;
?>

View File

@@ -90,12 +90,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//$db->exec(check_sql($sql));
unset($sql);
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=apps.php\">\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: apps.php");
return;
} //if ($action == "add")
@@ -106,12 +102,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//$db->exec(check_sql($sql));
unset($sql);
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=apps.php\">\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: apps.php");
return;
} //if ($action == "update")
} //if ($_POST["persistformvar"] != "true")