Change the 'Cancel' button to 'Stop Broadcast'

This commit is contained in:
Mark Crane
2014-02-19 08:50:36 +00:00
parent 1e53c4e5af
commit cd28bf2491
4 changed files with 8 additions and 8 deletions

View File

@@ -134,7 +134,7 @@
$text['description-info']['fr-fr'] = "";
$text['button-send']['en-us'] = "Send Broadcast";
$text['button-send']['es-cl'] = "Enviar Llamada Masiva (Broadcast)";
$text['button-send']['es-cl'] = "Enviar Llamada Masiva";
$text['button-send']['pt-pt'] = "Enviar Broadcast";
$text['button-send']['fr-fr'] = "Lancer les appels";
@@ -143,10 +143,10 @@
$text['button-save']['pt-pt'] = "Guardar";
$text['button-save']['fr-fr'] = "Sauvegarder";
$text['button-cancel']['en-us'] = "Cancel";
$text['button-cancel']['es-cl'] = "Cancelar";
$text['button-cancel']['pt-pt'] = "Cancelar";
$text['button-cancel']['fr-fr'] = "Annuler";
$text['button-stop']['en-us'] = "Stop Broadcast";
$text['button-stop']['es-cl'] = "Detener Broadcast";
$text['button-stop']['pt-pt'] = "Pare de Transmissão";
$text['button-stop']['fr-fr'] = "Arrêter la diffusion";
//v_call_broadcast_send
$text['label-view-calls']['en-us'] = "View Calls";

View File

@@ -231,7 +231,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$text['label-call-broadcast']."</b></td>\n";
echo "<td width='70%' align='right'>\n";
echo " <input type='button' class='btn' name='cancel' alt='cancel' onclick=\"window.location='call_broadcast_cancel.php'\" value='".$text['button-cancel']."'>\n";
echo " <input type='button' class='btn' name='back' alt='back' onclick=\"window.location='call_broadcast.php'\" value='".$text['button-back']."'>\n";
echo "</td>\n";
echo "</tr>\n";
@@ -385,7 +384,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <td colspan='2' align='right'>\n";
if ($action == "update") {
echo " <input type='hidden' name='call_broadcast_uuid' value='$call_broadcast_uuid'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='call_broadcast_send.php?call_broadcast_uuid=$call_broadcast_uuid'\" value='".$text['button-send']."'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='call_broadcast_send.php?id=$call_broadcast_uuid'\" value='".$text['button-send']."'>\n";
echo " <input type='button' class='btn' name='' alt='stop' onclick=\"window.location='call_broadcast_stop.php?id=".$call_broadcast_uuid."'\" value='".$text['button-stop']."'>\n";
}
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";

View File

@@ -62,7 +62,7 @@ function cmd_async($cmd) {
//get the http get values and set as php variables
$group_name = $_GET["group_name"];
$call_broadcast_uuid = $_GET["call_broadcast_uuid"];
$call_broadcast_uuid = $_GET["id"];
$user_category = $_GET["user_category"];
$gateway = $_GET["gateway"];
$phonetype1 = $_GET["phonetype1"];