Change the voicemai Copy Destinations to Forward Destinations.

This commit is contained in:
Mark Crane 2014-03-07 08:35:55 +00:00
parent 12351013b8
commit 1e84cb0299
2 changed files with 16 additions and 16 deletions

View File

@ -76,15 +76,15 @@
$text['description-voicemail_local_after_email']['pt-pt'] = "Escolha se pretende manter o ficheiro de correio de voz depois de enviar email.";
$text['description-voicemail_local_after_email']['fr-fr'] = "Garder le message vocal dans la boite vocale après l'envoi du courriel.";
$text['label-copy_destinations']['en-us'] = "Copy Destinations";
$text['label-copy_destinations']['es-cl'] = "Copiar Destinos";
$text['label-copy_destinations']['pt-pt'] = "Copiar Destinos";
$text['label-copy_destinations']['fr-fr'] = "Copier Destinations";
$text['label-forward_destinations']['en-us'] = "Forward Destinations";
$text['label-forward_destinations']['es-cl'] = "Destinos Adelante";
$text['label-forward_destinations']['pt-pt'] = "Destinos Atacante";
$text['label-forward_destinations']['fr-fr'] = "Destinations à terme";
$text['description-copy_destinations']['en-us'] = "Set other Voicemail IDs to also receive a copy of incoming voice messages.";
$text['description-copy_destinations']['es-cl'] = "Establezca otras identificaciones de correo de voz para recibir también una copia de los mensajes de voz entrantes.";
$text['description-copy_destinations']['pt-pt'] = "Defina outras identificações Voicemail também para receber uma cópia das mensagens de voz recebidas.";
$text['description-copy_destinations']['fr-fr'] = "Définissez les autres identifications de messagerie vocale de recevoir également une copie des messages vocaux entrants.";
$text['description-forward_destinations']['en-us'] = "Forward voicemail messages to additional destinations.";
$text['description-forward_destinations']['es-cl'] = "Reenviar mensajes de voz a destinos adicionales.";
$text['description-forward_destinations']['pt-pt'] = "Mensagens de voz para a frente para destinos adicionais.";
$text['description-forward_destinations']['fr-fr'] = "Messages vocaux à terme vers des destinations supplémentaires.";
$text['label-voicemail_enabled']['en-us'] = "Enabled";
$text['label-voicemail_enabled']['es-cl'] = "Activado";

View File

@ -361,11 +361,11 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-copy_destinations'].":</td>";
echo " <td class='vncell' valign='top'>".$text['label-forward_destinations'].":</td>";
echo " <td class='vtable'>";
echo " <table width='52%'>\n";
$sqls = "
$sql = "
select
v.voicemail_id,
d.voicemail_destination_uuid,
@ -380,7 +380,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
d.voicemail_uuid = '".$voicemail_uuid."'
order by
v.voicemail_id asc";
$prep_statement = $db->prepare(check_sql($sqls));
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
$result_count = count($result);
@ -397,10 +397,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if (sizeof($voicemail_uuid_copied) > 0) {
// modify sql to remove already copied voicemail uuids from the list
$sqls_mod = " and v.voicemail_uuid not in ('".implode("','", $voicemail_uuid_copied)."') ";
$sql_mod = " and v.voicemail_uuid not in ('".implode("','", $voicemail_uuid_copied)."') ";
}
echo " <br />\n";
$sqls = "
$sql = "
select
v.voicemail_id,
v.voicemail_uuid
@ -410,10 +410,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
v.domain_uuid = '".$_SESSION['domain_uuid']."' and
v.voicemail_enabled = 'true' and
v.voicemail_uuid <> '".$voicemail_uuid."'
".$sqls_mod."
".$sql_mod."
order by
v.voicemail_id asc";
$prep_statement = $db->prepare(check_sql($sqls));
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
echo " <select name=\"voicemail_uuid_copy\" class='formfld' style='width: auto;'>\n";
echo " <option value=\"\"></option>\n";
@ -425,7 +425,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type=\"submit\" class='btn' value=\"".$text['button-add']."\">\n";
unset($sql, $result);
echo " <br>\n";
echo " ".$text['description-copy_destinations']."\n";
echo " ".$text['description-forward_destinations']."\n";
echo " <br />\n";
echo " </td>";
echo " </tr>";