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
+5
View File
@@ -133,6 +133,11 @@
$text['description-info']['pt-pt'] = "Insira a descrição aqui."; $text['description-info']['pt-pt'] = "Insira a descrição aqui.";
$text['description-info']['fr-fr'] = ""; $text['description-info']['fr-fr'] = "";
$text['message-message']['en-us'] = "Message";
$text['message-message']['es-cl'] = "Mensaje";
$text['message-message']['pt-pt'] = "Mensagem";
$text['message-message']['fr-fr'] = "Message";
$text['button-send']['en-us'] = "Send Broadcast"; $text['button-send']['en-us'] = "Send Broadcast";
$text['button-send']['es-cl'] = "Enviar Llamada Masiva"; $text['button-send']['es-cl'] = "Enviar Llamada Masiva";
$text['button-send']['pt-pt'] = "Enviar Broadcast"; $text['button-send']['pt-pt'] = "Enviar Broadcast";
+2 -5
View File
@@ -46,8 +46,7 @@ else {
} }
//show the header //show the header
require_once "resources/header.php"; header('Location: call_broadcast_edit.php?id='.$uuid);
echo "<meta http-equiv=\"refresh\" content=\"2;url=call_broadcast_edit.php?id=$uuid\">\n";
//show the result //show the result
if (count($_GET) > 0) { if (count($_GET) > 0) {
@@ -55,10 +54,8 @@ else {
if ($fp) { if ($fp) {
$cmd = "sched_del ".$uuid; $cmd = "sched_del ".$uuid;
$result = event_socket_request($fp, 'api '.$cmd); $result = event_socket_request($fp, 'api '.$cmd);
echo htmlentities($result); $_SESSION['message'] = htmlentities($result);
} }
} }
//show the footer
require_once "resources/footer.php";
?> ?>