Improve the Stop Broadcast message.

This commit is contained in:
Mark Crane
2014-02-19 09:37:58 +00:00
parent cd28bf2491
commit a9657cd734
2 changed files with 7 additions and 5 deletions

View File

@@ -46,8 +46,7 @@ else {
}
//show the header
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_broadcast_edit.php?id=$uuid\">\n";
header('Location: call_broadcast_edit.php?id='.$uuid);
//show the result
if (count($_GET) > 0) {
@@ -55,10 +54,8 @@ else {
if ($fp) {
$cmd = "sched_del ".$uuid;
$result = event_socket_request($fp, 'api '.$cmd);
echo htmlentities($result);
$_SESSION['message'] = htmlentities($result);
}
}
//show the footer
require_once "resources/footer.php";
?>