Response message updates.

This commit is contained in:
Nate Jones
2014-02-23 05:48:33 +00:00
parent e204a8a180
commit ddb0a77fd8
8 changed files with 74 additions and 111 deletions

View File

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