cleanup and some refactoring

This commit is contained in:
Nuno Miguel Reis 2012-10-09 03:45:34 +00:00
parent ca52873904
commit 3d229ca9c0
27 changed files with 666 additions and 677 deletions

View File

@ -7,14 +7,14 @@
$content_broadcast['label-name']['en-us'] = 'Name';
$content_broadcast['label-name']['pt-pt'] = 'Nome';
$content_broadcast['label-concurrentlimit']['en-us'] = 'Concurrent Limit';
$content_broadcast['label-concurrentlimit']['pt-pt'] = 'Limite de concorrencia';
$content_broadcast['label-concurrent-limit']['en-us'] = 'Concurrent Limit';
$content_broadcast['label-concurrent-limit']['pt-pt'] = 'Limite de concorrencia';
$content_broadcast['label-description']['en-us'] = 'Description';
$content_broadcast['label-description']['pt-pt'] = 'Descrição';
$content_broadcast['confirm-deleteinfo']['en-us'] = 'Do you really want to delete this?';
$content_broadcast['confirm-deleteinfo']['pt-pt'] = 'Deseja realmente eliminar isto?';
$content_broadcast['confirm-delete-info']['en-us'] = 'Do you really want to delete this?';
$content_broadcast['confirm-delete-info']['pt-pt'] = 'Deseja realmente eliminar isto?';
//v_call_broadcast_delete
$content_broadcast['confirm-delete']['en-us'] = 'Delete Complete';
@ -30,11 +30,11 @@
$content_broadcast['confirm-update']['en-us'] = 'Update Complete';
$content_broadcast['confirm-update']['pt-pt'] = 'Actualização Completa';
$content_broadcast['label-callbroadcast']['en-us'] = 'Call Broadcast';
$content_broadcast['label-callbroadcast']['pt-pt'] = 'Chamada Broadcast';
$content_broadcast['label-call-broadcast']['en-us'] = 'Call Broadcast';
$content_broadcast['label-call-broadcast']['pt-pt'] = 'Chamada Broadcast';
$content_broadcast['label-callbroadcastedit']['en-us'] = 'Call Broadcast Edit';
$content_broadcast['label-callbroadcastedit']['pt-pt'] = 'Editar Chamada Broadcast';
$content_broadcast['label-call-broadcast-edit']['en-us'] = 'Call Broadcast Edit';
$content_broadcast['label-call-broadcast-edit']['pt-pt'] = 'Editar Chamada Broadcast';
$content_broadcast['button-back']['en-us'] = 'Back';
$content_broadcast['button-back']['pt-pt'] = 'Voltar';
@ -48,20 +48,20 @@
$content_broadcast['description-timeout']['en-us'] = 'Limit the length of the call. Leave this empty for no limit.';
$content_broadcast['description-timeout']['pt-pt'] = 'Limitar a duração da chamada. Deixe em branco para não ter limite.';
$content_broadcast['description-concurrentlimit']['en-us'] = 'Limit the approximate number of concurrent calls. Leave this empty for no limit.';
$content_broadcast['description-concurrentlimit']['pt-pt'] = 'Limitar o número de chamadas simultâneas. Deixe em branco para não ter limite.';
$content_broadcast['description-concurrent-limit']['en-us'] = 'Limit the approximate number of concurrent calls. Leave this empty for no limit.';
$content_broadcast['description-concurrent-limit']['pt-pt'] = 'Limitar o número de chamadas simultâneas. Deixe em branco para não ter limite.';
$content_broadcast['label-calleridname']['en-us'] = 'Caller ID Name';
$content_broadcast['label-calleridname']['pt-pt'] = 'Nome de Origem';
$content_broadcast['label-callerid-name']['en-us'] = 'Caller ID Name';
$content_broadcast['label-callerid-name']['pt-pt'] = 'Nome de Origem';
$content_broadcast['label-calleridnumber']['en-us'] = 'Caller ID Number';
$content_broadcast['label-calleridnumber']['pt-pt'] = 'Numero de Origem';
$content_broadcast['label-callerid-number']['en-us'] = 'Caller ID Number';
$content_broadcast['label-callerid-number']['pt-pt'] = 'Numero de Origem';
$content_broadcast['description-calleridname']['en-us'] = 'Applicable if the provider allow the Caller ID Name to be set. default: anonymous';
$content_broadcast['description-calleridname']['pt-pt'] = 'Aplicável se o provedor permitir o nome de origem para serem enviadas as chamadas. padrão: anonymous';
$content_broadcast['description-callerid-name']['en-us'] = 'Applicable if the provider allow the Caller ID Name to be set. default: anonymous';
$content_broadcast['description-callerid-name']['pt-pt'] = 'Aplicável se o provedor permitir o nome de origem para serem enviadas as chamadas. padrão: anonymous';
$content_broadcast['description-calleridnumber']['en-us'] = 'Applicable if the provider that allow the Caller ID number to be sent. default: 0000000000';
$content_broadcast['description-calleridnumber']['pt-pt'] = 'Aplicável se o provedor permitir o numero de origem para serem enviadas as chamadas. padrão: 0000000000';
$content_broadcast['description-callerid-number']['en-us'] = 'Applicable if the provider that allow the Caller ID number to be sent. default: 0000000000';
$content_broadcast['description-callerid-number']['pt-pt'] = 'Aplicável se o provedor permitir o numero de origem para serem eninationviadas as chamadas. padrão: 0000000000';
$content_broadcast['label-destination']['en-us'] = 'Destination Number';
$content_broadcast['label-destination']['pt-pt'] = 'Numero de Destino';

View File

@ -94,7 +94,7 @@ require_once "includes/paging.php";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo th_order_by('broadcast_name', $content_broadcast['label-name'], $order_by, $order);
echo th_order_by('broadcast_concurrent_limit', $content_broadcast['label-concurrentlimit'], $order_by, $order);
echo th_order_by('broadcast_concurrent_limit', $content_broadcast['label-concurrent-limit'], $order_by, $order);
echo th_order_by('broadcast_description', $content_broadcast['label-description'], $order_by, $order);
//echo th_order_by('recordingid', 'Recording', $order_by, $order);
echo "<td align='right' width='42'>\n";
@ -116,7 +116,7 @@ require_once "includes/paging.php";
echo " <a href='v_call_broadcast_edit.php?id=".$row['call_broadcast_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
}
if (permission_exists('call_broadcast_delete')) {
echo " <a href='v_call_broadcast_delete.php?id=".$row['call_broadcast_uuid']."' alt='delete' onclick=\"return confirm('".$content_broadcast['confirm-deleteinfo']."')\">$v_link_label_delete</a>\n";
echo " <a href='v_call_broadcast_delete.php?id=".$row['call_broadcast_uuid']."' alt='delete' onclick=\"return confirm('".$content_broadcast['confirm-delete-info']."')\">$v_link_label_delete</a>\n";
}
echo " </td>\n";
echo "</tr>\n";

View File

@ -230,10 +230,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
if ($action == "add") {
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$content_broadcast['label-callbroadcast']."</b></td>\n";
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$content_broadcast['label-call-broadcast']."</b></td>\n";
}
if ($action == "update") {
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$content_broadcast['label-callbroadcastedit']."</b></td>\n";
echo "<td width='30%' align='left' nowrap='nowrap'><b>".$content_broadcast['label-call-broadcast-edit']."</b></td>\n";
}
echo "<td width='70%' align='right'>\n";
echo " <input type='button' class='btn' name='back' alt='back' onclick=\"window.location='v_call_broadcast.php'\" value='".$content_broadcast['button-back']."'>\n";
@ -264,12 +264,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$content_broadcast['label-concurrentlimit'].":\n";
echo " ".$content_broadcast['label-concurrent-limit'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_concurrent_limit' maxlength='255' value=\"$broadcast_concurrent_limit\">\n";
echo "<br />\n";
echo "".$content_broadcast['description-concurrentlimit']."\n";
echo "".$content_broadcast['description-concurrent-limit']."\n";
echo "</td>\n";
echo "</tr>\n";
@ -305,23 +305,23 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$content_broadcast['label-calleridname'].":\n";
echo " ".$content_broadcast['label-callerid-name'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_caller_id_name' maxlength='255' value=\"$broadcast_caller_id_name\">\n";
echo "<br />\n";
echo "".$content_broadcast['description-calleridname']."\n";
echo "".$content_broadcast['description-callerid-name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$content_broadcast['label-calleridnumber'].":\n";
echo " ".$content_broadcast['label-callerid-number'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='broadcast_caller_id_number' maxlength='255' value=\"$broadcast_caller_id_number\">\n";
echo "<br />\n";
echo "".$content_broadcast['description-calleridnumber']."\n";
echo "".$content_broadcast['description-callerid-number']."\n";
echo "</td>\n";
echo "</tr>\n";
/*

View File

@ -201,7 +201,7 @@ function cmd_async($cmd) {
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='row_style1' align='center'>\n";
echo " <strong>".$content_broadcast['label-callbroadcast']." $broadcast_name ".$content_broadcast['label-hasbeen']."</strong>\n";
echo " <strong>".$content_broadcast['label-call-broadcast']." $broadcast_name ".$content_broadcast['label-hasbeen']."</strong>\n";
echo " <br /><br />\n";
echo " <table width='100%'>\n";
echo " <tr>\n";

View File

@ -1,90 +1,90 @@
<?php
$content_calls['title']['en-us'] = 'Calls';
$content_calls['title']['pt-pt'] = 'Chamadas';
$content_calls['title']['en-us'] = 'Calls';
$content_calls['title']['pt-pt'] = 'Chamadas';
$content_calls['description']['en-us'] = 'Directs incoming calls for extension:';
$content_calls['description']['pt-pt'] = 'Direciona as chamadas recebidas para a extensão:';
$content_calls['description2']['en-us'] = 'Use the links to configure call forward follow me, or do no disturb.';
$content_calls['description2']['pt-pt'] = 'Utilizar os links para definir as funcinalidades de encaminhamento de chamada, segue-me, ou de não perturbar.';
$content_calls['description3']['en-us'] = 'The following list the extensions that have been assigned to this user account.';
$content_calls['description3']['pt-pt'] = 'A tabela a seguir lista as extensões que foram atribuídas a esta conta de utilizador.';
$content_calls['label-callforward']['en-us'] = 'Call Forward';
$content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
$content_calls['label-enabled']['en-us'] = 'Enabled';
$content_calls['label-enabled']['pt-pt'] = 'Activo';
$content_calls['label-enable']['en-us'] = 'Enable';
$content_calls['label-enable']['pt-pt'] = 'Activar';
$content_calls['label-disabled']['en-us'] = 'Disabled';
$content_calls['label-disabled']['pt-pt'] = 'Desactivo';
$content_calls['label-disable']['en-us'] = 'Disabled';
$content_calls['label-disable']['pt-pt'] = 'Desactivar';
$content_calls['label-number']['en-us'] = 'Number';
$content_calls['label-number']['pt-pt'] = 'Número';
$content_calls['label-followme']['en-us'] = 'Follow Me';
$content_calls['label-followme']['pt-pt'] = 'Segue-me';
$content_calls['label-ring1']['en-us'] = 'Ring 1st Number';
$content_calls['label-ring1']['pt-pt'] = '1º Número a Tocar';
$content_calls['label-ring2']['en-us'] = 'Ring 2st Number';
$content_calls['label-ring2']['pt-pt'] = '2º Número a Tocar';
$content_calls['label-ring3']['en-us'] = 'Ring 3st Number';
$content_calls['label-ring3']['pt-pt'] = '3º Número a Tocar';
$content_calls['label-ring4']['en-us'] = 'Ring 4st Number';
$content_calls['label-ring4']['pt-pt'] = '4º Número a Tocar';
$content_calls['label-ring5']['en-us'] = 'Ring 5st Number';
$content_calls['label-ring5']['pt-pt'] = '5º Número a Tocar';
$content_calls['label-ringorder']['en-us'] = 'Ring Order';
$content_calls['label-ringorder']['pt-pt'] = 'Pedir Chamada';
$content_calls['check-sequence']['en-us'] = 'sequence';
$content_calls['ckeck-sequence']['pt-pt'] = 'sequêncial';
$content_calls['check-simultaneous']['en-us'] = 'simultaneous';
$content_calls['ckeck-simultaneous']['pt-pt'] = 'simultâneo';
$content_calls['label-prompt']['en-us'] = 'Prompt to accept the call';
$content_calls['label-prompt']['pt-pt'] = 'Perguntar para aceitar a chamada';
$content_calls['check-true']['en-us'] = 'true';
$content_calls['ckeck-true']['pt-pt'] = 'verdadeiro';
$content_calls['check-false']['en-us'] = 'false';
$content_calls['ckeck-false']['pt-pt'] = 'falso';
$content_calls['label-dnd']['en-us'] = 'Do Not Disturb';
$content_calls['label-dnd']['pt-pt'] = 'Não Perturbar';
$content_calls['button-back']['en-us'] = 'Back';
$content_calls['button-back']['pt-pt'] = 'Voltar';
$content_calls['button-save']['en-us'] = 'Save';
$content_calls['button-save']['pt-pt'] = 'Guardar';
$content_calls['confirm-update']['en-us'] = 'Update Complete';
$content_calls['confirm-update']['pt-pt'] = 'Actualização Completa';
$content_calls['table-extension']['en-us'] = 'Extension';
$content_calls['table-extension']['pt-pt'] = 'Extensão';
$content_calls['table-tools']['en-us'] = 'Tools';
$content_calls['table-tools']['pt-pt'] = 'Ferramentas';
$content_calls['table-description']['en-us'] = 'Description';
$content_calls['table-description']['pt-pt'] = 'Descrição';
$content_calls['description']['en-us'] = 'Directs incoming calls for extension:';
$content_calls['description']['pt-pt'] = 'Direciona as chamadas recebidas para a extensão:';
?>
$content_calls['description2']['en-us'] = 'Use the links to configure call forward follow me, or do no disturb.';
$content_calls['description2']['pt-pt'] = 'Utilizar os links para definir as funcinalidades de encaminhamento de chamada, segue-me, ou de não perturbar.';
$content_calls['description3']['en-us'] = 'The following list the extensions that have been assigned to this user account.';
$content_calls['description3']['pt-pt'] = 'A tabela a seguir lista as extensões que foram atribuídas a esta conta de utilizador.';
$content_calls['label-callforward']['en-us'] = 'Call Forward';
$content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
$content_calls['label-enabled']['en-us'] = 'Enabled';
$content_calls['label-enabled']['pt-pt'] = 'Activo';
$content_calls['label-enable']['en-us'] = 'Enable';
$content_calls['label-enable']['pt-pt'] = 'Activar';
$content_calls['label-disabled']['en-us'] = 'Disabled';
$content_calls['label-disabled']['pt-pt'] = 'Desactivo';
$content_calls['label-disable']['en-us'] = 'Disabled';
$content_calls['label-disable']['pt-pt'] = 'Desactivar';
$content_calls['label-number']['en-us'] = 'Number';
$content_calls['label-number']['pt-pt'] = 'Número';
$content_calls['label-followme']['en-us'] = 'Follow Me';
$content_calls['label-followme']['pt-pt'] = 'Segue-me';
$content_calls['label-ring1']['en-us'] = 'Ring 1st Number';
$content_calls['label-ring1']['pt-pt'] = '1º Número a Tocar';
$content_calls['label-ring2']['en-us'] = 'Ring 2st Number';
$content_calls['label-ring2']['pt-pt'] = '2º Número a Tocar';
$content_calls['label-ring3']['en-us'] = 'Ring 3st Number';
$content_calls['label-ring3']['pt-pt'] = '3º Número a Tocar';
$content_calls['label-ring4']['en-us'] = 'Ring 4st Number';
$content_calls['label-ring4']['pt-pt'] = '4º Número a Tocar';
$content_calls['label-ring5']['en-us'] = 'Ring 5st Number';
$content_calls['label-ring5']['pt-pt'] = '5º Número a Tocar';
$content_calls['label-ringorder']['en-us'] = 'Ring Order';
$content_calls['label-ringorder']['pt-pt'] = 'Pedir Chamada';
$content_calls['check-sequence']['en-us'] = 'sequence';
$content_calls['ckeck-sequence']['pt-pt'] = 'sequêncial';
$content_calls['check-simultaneous']['en-us'] = 'simultaneous';
$content_calls['ckeck-simultaneous']['pt-pt'] = 'simultâneo';
$content_calls['label-prompt']['en-us'] = 'Prompt to accept the call';
$content_calls['label-prompt']['pt-pt'] = 'Perguntar para aceitar a chamada';
$content_calls['check-true']['en-us'] = 'true';
$content_calls['ckeck-true']['pt-pt'] = 'verdadeiro';
$content_calls['check-false']['en-us'] = 'false';
$content_calls['ckeck-false']['pt-pt'] = 'falso';
$content_calls['label-dnd']['en-us'] = 'Do Not Disturb';
$content_calls['label-dnd']['pt-pt'] = 'Não Perturbar';
$content_calls['button-back']['en-us'] = 'Back';
$content_calls['button-back']['pt-pt'] = 'Voltar';
$content_calls['button-save']['en-us'] = 'Save';
$content_calls['button-save']['pt-pt'] = 'Guardar';
$content_calls['confirm-update']['en-us'] = 'Update Complete';
$content_calls['confirm-update']['pt-pt'] = 'Actualização Completa';
$content_calls['table-extension']['en-us'] = 'Extension';
$content_calls['table-extension']['pt-pt'] = 'Extensão';
$content_calls['table-tools']['en-us'] = 'Tools';
$content_calls['table-tools']['pt-pt'] = 'Ferramentas';
$content_calls['table-description']['en-us'] = 'Description';
$content_calls['table-description']['pt-pt'] = 'Descrição';
?>

View File

@ -1,107 +1,107 @@
<?php
//v_calls_active
$content_calls_active['title']['en-us'] = 'Active Calls';
$content_calls_active['title']['pt-pt'] = 'Chamadas Activas';
//v_calls_active
$content_calls_active['title']['en-us'] = 'Active Calls';
$content_calls_active['title']['pt-pt'] = 'Chamadas Activas';
$content_calls_active['description']['en-us'] = 'Use this to monitor and interact with the active calls.';
$content_calls_active['description']['pt-pt'] = 'Utilize este menu para monitorizar e interagir com as chamadas ativas.';
//v_calls_active_extensions
$content_calls_active['title2']['en-us'] = 'Active Extensions';
$content_calls_active['title2']['pt-pt'] = 'Extensões Activas';
$content_calls_active['label-status']['en-us'] = 'Status';
$content_calls_active['label-status']['pt-pt'] = 'Estado';
$content_calls_active['label-transfer']['en-us'] = 'Transfer To';
$content_calls_active['label-transfer']['pt-pt'] = 'Transferir para';
$content_calls_active['description2']['en-us'] = 'Use this to view all extensions and monitor and interact with active calls.';
$content_calls_active['description2']['pt-pt'] = 'Utilize este menu para ver todas as extensões, monitorizar e interagir com as chamadas ativas.';
$content_calls_active['check-availablestatus']['en-us'] = 'Available';
$content_calls_active['check-availablestatus']['pt-pt'] = 'Disponível';
$content_calls_active['check-availableondemandstatus']['en-us'] = 'Available (On Demand)';
$content_calls_active['check-availableondemandstatus']['pt-pt'] = 'Disponível (A pedido)';
$content_calls_active['check-logedoutstatus']['en-us'] = 'Logged Out';
$content_calls_active['check-logedoutstatus']['pt-pt'] = 'Desligado';
$content_calls_active['check-onbreakstatus']['en-us'] = 'On Break';
$content_calls_active['check-onbreakstatus']['pt-pt'] = 'Em Pausa';
$content_calls_active['check-donotdisturbstatus']['en-us'] = 'Do Not Disturb';
$content_calls_active['check-donotdisturbstatus']['pt-pt'] = 'Não Perturbar';
//v_calls_active_assigned_extensions_inc
$content_calls_active['label-time']['en-us'] = 'Time';
$content_calls_active['label-time']['pt-pt'] = 'Tempo';
$content_calls_active['label-cidname']['en-us'] = 'CID Name';
$content_calls_active['label-cidname']['pt-pt'] = 'Nome CID';
$content_calls_active['label-cidnum']['en-us'] = 'CID Number';
$content_calls_active['label-cidnum']['pt-pt'] = 'Numero CID';
$content_calls_active['label-dest']['en-us'] = 'Dest';
$content_calls_active['label-dest']['pt-pt'] = 'Destino';
$content_calls_active['label-app']['en-us'] = 'Application';
$content_calls_active['label-app']['pt-pt'] = 'Aplicação';
$content_calls_active['label-secure']['en-us'] = 'Secure';
$content_calls_active['label-secure']['pt-pt'] = 'Seguro';
$content_calls_active['label-name']['en-us'] = 'Name';
$content_calls_active['label-name']['pt-pt'] = 'Nome';
$content_calls_active['label-opt']['en-us'] = 'Options';
$content_calls_active['label-opt']['pt-pt'] = 'Opções';
$content_calls_active['label-transf']['en-us'] = 'Transfer';
$content_calls_active['label-transf']['pt-pt'] = 'Transferir';
$content_calls_active['label-park']['en-us'] = 'park';
$content_calls_active['label-park']['pt-pt'] = 'parquear';
$content_calls_active['confirm-hangup']['en-us'] = 'Do you really want to hangup this call?';
$content_calls_active['confirm-hangup']['pt-pt'] = 'Quer realmente terminar esta chamada?';
$content_calls_active['label-hangup']['en-us'] = 'hangup';
$content_calls_active['label-hangup']['pt-pt'] = 'terminar';
$content_calls_active['label-stop']['en-us'] = 'stop record';
$content_calls_active['label-stop']['pt-pt'] = 'parar de gravar';
$content_calls_active['label-start']['en-us'] = 'start record';
$content_calls_active['label-start']['pt-pt'] = 'iniciar a gravação';
//v_calls_active_extensions_inc
$content_calls_active['confirm-socket']['en-us'] = 'Connection to Event Socket failed.';
$content_calls_active['confirm-socket']['pt-pt'] = 'Conexão com socket falhou.';
$content_calls_active['label-message']['en-us'] = 'Message';
$content_calls_active['label-message']['pt-pt'] = 'Mensagem';
$content_calls_active['label-ext']['en-us'] = 'Ext';
$content_calls_active['label-ext']['pt-pt'] = 'Extensão';
$content_calls_active['label-parkext']['en-us'] = 'Park';
$content_calls_active['label-parkext']['pt-pt'] = 'Parquear Extensão';
$content_calls_active['label-profile']['en-us'] = 'Profile';
$content_calls_active['label-profile']['pt-pt'] = 'Perfil';
$content_calls_active['label-created']['en-us'] = 'Created';
$content_calls_active['label-created']['pt-pt'] = 'Criado';
$content_calls_active['label-num']['en-us'] = 'Number';
$content_calls_active['label-num']['pt-pt'] = 'Numero';
$content_calls_active['label-codec']['en-us'] = 'Read / Write Codec';
$content_calls_active['label-codec']['pt-pt'] = 'Codec de Leitura / Escrita ';
?>
$content_calls_active['description']['en-us'] = 'Use this to monitor and interact with the active calls.';
$content_calls_active['description']['pt-pt'] = 'Utilize este menu para monitorizar e interagir com as chamadas ativas.';
//v_calls_active_extensions
$content_calls_active['title2']['en-us'] = 'Active Extensions';
$content_calls_active['title2']['pt-pt'] = 'Extensões Activas';
$content_calls_active['label-status']['en-us'] = 'Status';
$content_calls_active['label-status']['pt-pt'] = 'Estado';
$content_calls_active['label-transfer']['en-us'] = 'Transfer To';
$content_calls_active['label-transfer']['pt-pt'] = 'Transferir para';
$content_calls_active['description2']['en-us'] = 'Use this to view all extensions and monitor and interact with active calls.';
$content_calls_active['description2']['pt-pt'] = 'Utilize este menu para ver todas as extensões, monitorizar e interagir com as chamadas ativas.';
$content_calls_active['check-available-status']['en-us'] = 'Available';
$content_calls_active['check-available-status']['pt-pt'] = 'Disponível';
$content_calls_active['check-available-ondemand-status']['en-us'] = 'Available (On Demand)';
$content_calls_active['check-available-ondemand-status']['pt-pt'] = 'Disponível (A pedido)';
$content_calls_active['check-loggedout-status']['en-us'] = 'Logged Out';
$content_calls_active['check-loggedout-status']['pt-pt'] = 'Desligado';
$content_calls_active['check-onbreak-status']['en-us'] = 'On Break';
$content_calls_active['check-onbreak-status']['pt-pt'] = 'Em Pausa';
$content_calls_active['check-do-not-disturb-status']['en-us'] = 'Do Not Disturb';
$content_calls_active['check-do-not-disturb-status']['pt-pt'] = 'Não Perturbar';
//v_calls_active_assigned_extensions_inc
$content_calls_active['label-time']['en-us'] = 'Time';
$content_calls_active['label-time']['pt-pt'] = 'Tempo';
$content_calls_active['label-cid-name']['en-us'] = 'CID Name';
$content_calls_active['label-cid-name']['pt-pt'] = 'Nome CID';
$content_calls_active['label-cid-number']['en-us'] = 'CID Number';
$content_calls_active['label-cid-number']['pt-pt'] = 'Numero CID';
$content_calls_active['label-destination']['en-us'] = 'Dest';
$content_calls_active['label-destination']['pt-pt'] = 'Destino';
$content_calls_active['label-app']['en-us'] = 'Application';
$content_calls_active['label-app']['pt-pt'] = 'Aplicação';
$content_calls_active['label-secure']['en-us'] = 'Secure';
$content_calls_active['label-secure']['pt-pt'] = 'Seguro';
$content_calls_active['label-name']['en-us'] = 'Name';
$content_calls_active['label-name']['pt-pt'] = 'Nome';
$content_calls_active['label-opt']['en-us'] = 'Options';
$content_calls_active['label-opt']['pt-pt'] = 'Opções';
$content_calls_active['label-transf']['en-us'] = 'Transfer';
$content_calls_active['label-transf']['pt-pt'] = 'Transferir';
$content_calls_active['label-park']['en-us'] = 'park';
$content_calls_active['label-park']['pt-pt'] = 'parquear';
$content_calls_active['confirm-hangup']['en-us'] = 'Do you really want to hangup this call?';
$content_calls_active['confirm-hangup']['pt-pt'] = 'Quer realmente terminar esta chamada?';
$content_calls_active['label-hangup']['en-us'] = 'hangup';
$content_calls_active['label-hangup']['pt-pt'] = 'terminar';
$content_calls_active['label-stop']['en-us'] = 'stop record';
$content_calls_active['label-stop']['pt-pt'] = 'parar de gravar';
$content_calls_active['label-start']['en-us'] = 'start record';
$content_calls_active['label-start']['pt-pt'] = 'iniciar a gravação';
//v_calls_active_extensions_inc
$content_calls_active['confirm-socket']['en-us'] = 'Connection to Event Socket failed.';
$content_calls_active['confirm-socket']['pt-pt'] = 'Conexão com socket falhou.';
$content_calls_active['label-message']['en-us'] = 'Message';
$content_calls_active['label-message']['pt-pt'] = 'Mensagem';
$content_calls_active['label-ext']['en-us'] = 'Ext';
$content_calls_active['label-ext']['pt-pt'] = 'Extensão';
$content_calls_active['label-parkext']['en-us'] = 'Park';
$content_calls_active['label-parkext']['pt-pt'] = 'Parquear Extensão';
$content_calls_active['label-profile']['en-us'] = 'Profile';
$content_calls_active['label-profile']['pt-pt'] = 'Perfil';
$content_calls_active['label-created']['en-us'] = 'Created';
$content_calls_active['label-created']['pt-pt'] = 'Criado';
$content_calls_active['label-num']['en-us'] = 'Number';
$content_calls_active['label-num']['pt-pt'] = 'Numero';
$content_calls_active['label-codec']['en-us'] = 'Read / Write Codec';
$content_calls_active['label-codec']['pt-pt'] = 'Codec de Leitura / Escrita ';
?>

View File

@ -54,9 +54,9 @@ if (permission_exists('extensions_active_assigned_view')) {
echo "<th>".$content_calls_active['label-time']."</th>\n";
//echo "<th>Direction</th>\n";
//echo "<th>Profile</th>\n";
echo "<th>".$content_calls_active['label-cidname']."</th>\n";
echo "<th>".$content_calls_active['label-cidnum']."</th>\n";
echo "<th>".$content_calls_active['label-dest']."</th>\n";
echo "<th>".$content_calls_active['label-cid-name']."</th>\n";
echo "<th>".$content_calls_active['label-cid-number']."</th>\n";
echo "<th>".$content_calls_active['label-destination']."</th>\n";
echo "<th>".$content_calls_active['label-app']."</th>\n";
echo "<th>".$content_calls_active['label-secure']."</th>\n";
echo "<th>".$content_calls_active['label-name']."</th>\n";

View File

@ -239,34 +239,34 @@ else {
echo " <select id='agent_status' name='agent_status' class='formfld' style='width:125px' nowrap='nowrap' onchange=\"send_cmd($cmd);\">\n";
echo " <option value=' '></option>\n";
if ($user_status == "Available") {
echo " <option value='Available' selected='selected'>".$content_calls_active['check-availablestatus']."</option>\n";
echo " <option value='Available' selected='selected'>".$content_calls_active['check-available-status']."</option>\n";
}
else {
echo " <option value='Available'>".$content_calls_active['check-availablestatus']."</option>\n";
echo " <option value='Available'>".$content_calls_active['check-available-status']."</option>\n";
}
if ($user_status == "Available (On Demand)") {
echo " <option value='Available_On_Demand' selected='selected'>".$content_calls_active['check-availableondemandstatus']."</option>\n";
echo " <option value='Available_On_Demand' selected='selected'>".$content_calls_active['check-available-ondemand-status']."</option>\n";
}
else {
echo " <option value='Available_On_Demand'>".$content_calls_active['check-availableondemandstatus']."</option>\n";
echo " <option value='Available_On_Demand'>".$content_calls_active['check-available-ondemand-status']."</option>\n";
}
if ($user_status == "Logged Out") {
echo " <option value='Logged_Out' selected='selected'>".$content_calls_active['check-logedoutstatus']."</option>\n";
echo " <option value='Logged_Out' selected='selected'>".$content_calls_active['check-loggedout-status']."</option>\n";
}
else {
echo " <option value='Logged_Out'>".$content_calls_active['check-logedoutstatus']."</option>\n";
echo " <option value='Logged_Out'>".$content_calls_active['check-loggedout-status']."</option>\n";
}
if ($user_status == "On Break") {
echo " <option value='On_Break' selected='selected'>".$content_calls_active['check-onbreakstatus']."</option>\n";
echo " <option value='On_Break' selected='selected'>".$content_calls_active['check-onbreak-status']."</option>\n";
}
else {
echo " <option value='On_Break'>".$content_calls_active['check-onbreakstatus']."</option>\n";
echo " <option value='On_Break'>".$content_calls_active['check-onbreak-status']."</option>\n";
}
if ($user_status == "Do Not Disturb") {
echo " <option value='Do_Not_Disturb' selected='selected'>".$content_calls_active['check-donotdisturbstatus']."</option>\n";
echo " <option value='Do_Not_Disturb' selected='selected'>".$content_calls_active['check-do-not-disturb-status']."</option>\n";
}
else {
echo " <option value='Do_Not_Disturb'>".$content_calls_active['check-donotdisturbstatus']."</option>\n";
echo " <option value='Do_Not_Disturb'>".$content_calls_active['check-do-not-disturb-status']."</option>\n";
}
echo " </select>\n";
echo " </td>\n";

View File

@ -340,9 +340,9 @@ else {
echo "<th>".$content_calls_active['label-time']."</th>\n";
if (if_group("admin") || if_group("superadmin")) {
if (strlen(($_GET['rows'])) == 0) {
echo "<th>".$content_calls_active['label-cidname']."</th>\n";
echo "<th>".$content_calls_active['label-cidnum']."</th>\n";
echo "<th>".$content_calls_active['label-dest']."</th>\n";
echo "<th>".$content_calls_active['label-cid-name']."</th>\n";
echo "<th>".$content_calls_active['label-cid-number']."</th>\n";
echo "<th>".$content_calls_active['label-destination']."</th>\n";
echo "<th>".$content_calls_active['label-app']."</th>\n";
echo "<th>".$content_calls_active['label-secure']."</th>\n";
}
@ -508,9 +508,9 @@ else {
echo "<th>".$content_calls_active['label-time']."</th>\n";
if (if_group("admin") || if_group("superadmin")) {
if ($_GET['rows'] == 0) {
echo "<th>".$content_calls_active['label-cidname']."</th>\n";
echo "<th>".$content_calls_active['label-cidnum']."</th>\n";
echo "<th>".$content_calls_active['label-dest']."</th>\n";
echo "<th>".$content_calls_active['label-cid-name']."</th>\n";
echo "<th>".$content_calls_active['label-cid-number']."</th>\n";
echo "<th>".$content_calls_active['label-destination']."</th>\n";
echo "<th>".$content_calls_active['label-app']."</th>\n";
echo "<th>".$content_calls_active['label-secure']."</th>\n";
}
@ -535,8 +535,8 @@ else {
echo "<tr>\n";
echo "<th valign='top'>".$content_calls_active['label-parkext']."</th>\n";
echo "<th valign='top'>".$content_calls_active['label-time']."</th>\n";
echo "<th valign='top'>".$content_calls_active['label-cidname']."</th>\n";
echo "<th valign='top'>".$content_calls_active['label-cidnum']."</th>\n";
echo "<th valign='top'>".$content_calls_active['label-cid-name']."</th>\n";
echo "<th valign='top'>".$content_calls_active['label-cid-number']."</th>\n";
echo "</tr>\n";
foreach ($valet_array as $row) {
if (strlen($row['extension']) > 0) {

View File

@ -85,10 +85,10 @@ else {
//echo "<th>Name</th>\n";
echo "<th>".$content_calls_active['label-num']."</th>\n";
//echo "<th>State</th>\n";
echo "<th>".$content_calls_active['label-cidname']."</th>\n";
echo "<th>".$content_calls_active['label-cidnum']."</th>\n";
echo "<th>".$content_calls_active['label-cid-name']."</th>\n";
echo "<th>".$content_calls_active['label-cid-number']."</th>\n";
//echo "<th>IP Addr</th>\n";
echo "<th>".$content_calls_active['label-dest']."</th>\n";
echo "<th>".$content_calls_active['label-destination']."</th>\n";
echo "<th>".$content_calls_active['label-app']."</th>\n";
//echo "<th>Dialplan</th>\n";
//echo "<th>Context</th>\n";

View File

@ -27,8 +27,8 @@
$content_fax['label-upload']['en-us'] = 'Upload';
$content_fax['label-upload']['pt-pt'] = 'Carregar';
$content_fax['label-uploadinfo']['en-us'] = 'Select the file to upload and send as a fax.';
$content_fax['label-uploadinfo']['pt-pt'] = 'Selecione o ficheiro para fazer o upload e enviar por fax.';
$content_fax['description-upload']['en-us'] = 'Select the file to upload and send as a fax.';
$content_fax['description-upload']['pt-pt'] = 'Selecione o ficheiro para fazer o upload e enviar por fax.';
$content_fax['button-back']['en-us'] = 'Back';
$content_fax['button-back']['pt-pt'] = 'Voltar';
@ -96,17 +96,17 @@
$content_fax['description-pin']['en-us'] = 'Enter the PIN number here.';
$content_fax['description-pin']['pt-pt'] = 'Insira aqui o número do PIN.';
$content_fax['label-calleridname']['en-us'] = 'Caller ID Name';
$content_fax['label-calleridname']['pt-pt'] = 'Nome de Origem';
$content_fax['label-callerid-name']['en-us'] = 'Caller ID Name';
$content_fax['label-callerid-name']['pt-pt'] = 'Nome de Origem';
$content_fax['label-calleridnumber']['en-us'] = 'Caller ID Number';
$content_fax['label-calleridnumber']['pt-pt'] = 'Número de Origem';
$content_fax['label-callerid-number']['en-us'] = 'Caller ID Number';
$content_fax['label-callerid-number']['pt-pt'] = 'Número de Origem';
$content_fax['description-calleridname']['en-us'] = 'Enter the Caller ID name here.';
$content_fax['description-calleridname']['pt-pt'] = 'Insira aqui o nome de origem.';
$content_fax['description-callerid-name']['en-us'] = 'Enter the Caller ID name here.';
$content_fax['description-callerid-name']['pt-pt'] = 'Insira aqui o nome de origem.';
$content_fax['description-calleridnumber']['en-us'] = 'Enter the Caller ID number here.';
$content_fax['description-calleridnumber']['pt-pt'] = 'Insira aqui o número de origem.';
$content_fax['description-callerid-number']['en-us'] = 'Enter the Caller ID number here.';
$content_fax['description-callerid-number']['pt-pt'] = 'Insira aqui o número de origem.';
$content_fax['label-forward']['en-us'] = 'Forward Number';
$content_fax['label-forward']['pt-pt'] = 'Número de Encaminhamento';

View File

@ -577,23 +577,23 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$content_fax['label-calleridname'].":\n";
echo " ".$content_fax['label-callerid-name'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='fax_caller_id_name' maxlength='255' value=\"$fax_caller_id_name\">\n";
echo "<br />\n";
echo "".$content_fax['description-calleridname']."\n";
echo "".$content_fax['description-callerid-name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$content_fax['label-calleridnumber'].":\n";
echo " ".$content_fax['label-callerid-number'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='fax_caller_id_number' maxlength='255' value=\"$fax_caller_id_number\">\n";
echo "<br />\n";
echo "".$content_fax['description-calleridnumber']."\n";
echo "".$content_fax['description-callerid-number']."\n";
echo "</td>\n";
echo "</tr>\n";

View File

@ -375,7 +375,7 @@ else {
echo " <input name=\"type\" type=\"hidden\" value=\"fax_send\">\n";
echo " <input name=\"fax_file\" type=\"file\" class=\"btn\" id=\"fax_file\">\n";
echo " <br />\n";
echo " ".$content_fax['label-uploadinfo']."\n";
echo " ".$content_fax['description-upload']."\n";
echo "</td>\n";
echo "</tr>\n";

View File

@ -36,20 +36,20 @@
$content_users['label-infostatus']['en-us'] = 'Select a the user status.';
$content_users['label-infostatus']['pt-pt'] = 'Selecione um estado para o utilizador.';
$content_users['check-availablestatus']['en-us'] = 'Available';
$content_users['check-availablestatus']['pt-pt'] = 'Disponível';
$content_users['check-available-status']['en-us'] = 'Available';
$content_users['check-available-status']['pt-pt'] = 'Disponível';
$content_users['check-availableondemandstatus']['en-us'] = 'Available (On Demand)';
$content_users['check-availableondemandstatus']['pt-pt'] = 'Disponível (A pedido)';
$content_users['check-available-ondemand-status']['en-us'] = 'Available (On Demand)';
$content_users['check-available-ondemand-status']['pt-pt'] = 'Disponível (A pedido)';
$content_users['check-logedoutstatus']['en-us'] = 'Logged Out';
$content_users['check-logedoutstatus']['pt-pt'] = 'Desligado';
$content_users['check-loggedout-status']['en-us'] = 'Logged Out';
$content_users['check-loggedout-status']['pt-pt'] = 'Desligado';
$content_users['check-onbreakstatus']['en-us'] = 'On Break';
$content_users['check-onbreakstatus']['pt-pt'] = 'Em Pausa';
$content_users['check-onbreak-status']['en-us'] = 'On Break';
$content_users['check-onbreak-status']['pt-pt'] = 'Em Pausa';
$content_users['check-donotdisturbstatus']['en-us'] = 'Do Not Disturb';
$content_users['check-donotdisturbstatus']['pt-pt'] = 'Não Perturbar';
$content_users['check-do-not-disturb-status']['en-us'] = 'Do Not Disturb';
$content_users['check-do-not-disturb-status']['pt-pt'] = 'Não Perturbar';
$content_users['label-time']['en-us'] = 'Time Zone';
$content_users['label-time']['pt-pt'] = 'Fuso Horário';

View File

@ -290,34 +290,34 @@ else {
echo " <select id='user_status' name='user_status' class='formfld' style=''>\n";
echo " <option value=''></option>\n";
if ($user_status == "Available") {
echo " <option value='Available' selected='selected'>".$content_users['check-availablestatus']."</option>\n";
echo " <option value='Available' selected='selected'>".$content_users['check-available-status']."</option>\n";
}
else {
echo " <option value='Available'>".$content_users['check-availablestatus']."</option>\n";
echo " <option value='Available'>".$content_users['check-available-status']."</option>\n";
}
if ($user_status == "Available (On Demand)") {
echo " <option value='Available (On Demand)' selected='selected'>".$content_users['check-availableondemandstatus']."</option>\n";
echo " <option value='Available (On Demand)' selected='selected'>".$content_users['check-available-ondemand-status']."</option>\n";
}
else {
echo " <option value='Available (On Demand)'>".$content_users['check-availableondemandstatus']."</option>\n";
echo " <option value='Available (On Demand)'>".$content_users['check-available-ondemand-status']."</option>\n";
}
if ($user_status == "Logged Out") {
echo " <option value='Logged Out' selected='selected'>".$content_users['check-logedoutstatus']."</option>\n";
echo " <option value='Logged Out' selected='selected'>".$content_users['check-loggedout-status']."</option>\n";
}
else {
echo " <option value='Logged Out'>".$content_users['check-logedoutstatus']."</option>\n";
echo " <option value='Logged Out'>".$content_users['check-loggedout-status']."</option>\n";
}
if ($user_status == "On Break") {
echo " <option value='On Break' selected='selected'>".$content_users['check-onbreakstatus']."</option>\n";
echo " <option value='On Break' selected='selected'>".$content_users['check-onbreak-status']."</option>\n";
}
else {
echo " <option value='On Break'>".$content_users['check-onbreakstatus']."</option>\n";
echo " <option value='On Break'>".$content_users['check-onbreak-status']."</option>\n";
}
if ($user_status == "Do Not Disturb") {
echo " <option value='Do Not Disturb' selected='selected'>".$content_users['check-donotdisturbstatus']."</option>\n";
echo " <option value='Do Not Disturb' selected='selected'>".$content_users['check-do-not-disturb-status']."</option>\n";
}
else {
echo " <option value='Do Not Disturb'>".$content_users['check-donotdisturbstatus']."</option>\n";
echo " <option value='Do Not Disturb'>".$content_users['check-do-not-disturb-status']."</option>\n";
}
echo " </select>\n";
echo " <br />\n";

View File

@ -1,69 +1,66 @@
<?php
//v_voicemail_greetings
$contentvoicemail_greetings['title']['en-us'] = 'Voicemail Greetings';
$contentvoicemail_greetings['title']['pt-pt'] = 'Saudações de correio de voz';
//v_voicemail_greetings
$content_voicemail_greetings['title']['en-us'] = 'Voicemail Greetings';
$content_voicemail_greetings['title']['pt-pt'] = 'Saudações de correio de voz';
$contentvoicemail_greetings['description']['en-us'] = 'Select the active greeting message to play for extension:';
$contentvoicemail_greetings['description']['pt-pt'] = 'Selecione e active mensagem de saudação para executar na extensão:';
$contentvoicemail_greetings['label-upload']['en-us'] = 'File to Upload';
$contentvoicemail_greetings['label-upload']['pt-pt'] = 'Ficheiro a Carregar';
$contentvoicemail_greetings['table-choose']['en-us'] = 'Choose';
$contentvoicemail_greetings['table-choose']['pt-pt'] = 'Escolher';
$contentvoicemail_greetings['table-name']['en-us'] = 'Name';
$contentvoicemail_greetings['table-name']['pt-pt'] = 'Nome';
$contentvoicemail_greetings['table-download']['en-us'] = 'Download';
$contentvoicemail_greetings['table-download']['pt-pt'] = 'Descarregar';
$contentvoicemail_greetings['table-size']['en-us'] = 'Size';
$contentvoicemail_greetings['table-size']['pt-pt'] = 'Tamanho';
$contentvoicemail_greetings['table-description']['en-us'] = 'Description';
$contentvoicemail_greetings['table-description']['pt-pt'] = 'Descrição';
$contentvoicemail_greetings['button-back']['en-us'] = 'Back';
$contentvoicemail_greetings['button-back']['pt-pt'] = 'Voltar';
$contentvoicemail_greetings['button-save']['en-us'] = 'Save';
$contentvoicemail_greetings['button-save']['pt-pt'] = 'Guardar';
//v_voicemail_greetings_delete
$contentvoicemail_greetings['confirm-delete2']['en-us'] = 'Delete Complete';
$contentvoicemail_greetings['confirm-delete2']['pt-pt'] = 'Eliminação Completa';
//v_voicemail_greetings_edit
$contentvoicemail_greetings['confirm-name']['en-us'] = 'Please provide: Greeting Name (play)';
$contentvoicemail_greetings['confirm-name']['pt-pt'] = 'Por favor, forneça: Nome da saudação (execução)';
$contentvoicemail_greetings['confirm-add']['en-us'] = 'Add Complete';
$contentvoicemail_greetings['confirm-add']['pt-pt'] = 'Adição Completa';
$contentvoicemail_greetings['confirm-update']['en-us'] = 'Update Complete';
$contentvoicemail_greetings['confirm-update']['pt-pt'] = 'Actualização Completa';
$contentvoicemail_greetings['label-add']['en-us'] = 'Add Greeting';
$contentvoicemail_greetings['label-add']['pt-pt'] = 'Adição de Saudação';
$contentvoicemail_greetings['label-edit']['en-us'] = 'Edit Greeting';
$contentvoicemail_greetings['label-edit']['pt-pt'] = 'Edição de Saudação';
$contentvoicemail_greetings['label-name']['en-us'] = 'Greeting Name';
$contentvoicemail_greetings['label-name']['pt-pt'] = 'Nome da Saudação';
$contentvoicemail_greetings['description-name']['en-us'] = 'Greeting Name. example: greeting_x';
$contentvoicemail_greetings['description-name']['pt-pt'] = 'Nome da Saudação. exemplo: saudação_x';
$contentvoicemail_greetings['label-description']['en-us'] = 'Description';
$contentvoicemail_greetings['label-description']['pt-pt'] = 'Descrição';
$contentvoicemail_greetings['description-info']['en-us'] = 'You may enter a description here for your reference (not parsed).';
$contentvoicemail_greetings['description-info']['pt-pt'] = 'Pode inserir aqui uma descrição para referência.';
?>
$content_voicemail_greetings['description']['en-us'] = 'Select the active greeting message to play for extension:';
$content_voicemail_greetings['description']['pt-pt'] = 'Selecione e active mensagem de saudação para executar na extensão:';
$content_voicemail_greetings['label-upload']['en-us'] = 'File to Upload';
$content_voicemail_greetings['label-upload']['pt-pt'] = 'Ficheiro a Carregar';
$content_voicemail_greetings['table-choose']['en-us'] = 'Choose';
$content_voicemail_greetings['table-choose']['pt-pt'] = 'Escolher';
$content_voicemail_greetings['table-name']['en-us'] = 'Name';
$content_voicemail_greetings['table-name']['pt-pt'] = 'Nome';
$content_voicemail_greetings['table-download']['en-us'] = 'Download';
$content_voicemail_greetings['table-download']['pt-pt'] = 'Descarregar';
$content_voicemail_greetings['table-size']['en-us'] = 'Size';
$content_voicemail_greetings['table-size']['pt-pt'] = 'Tamanho';
$content_voicemail_greetings['table-description']['en-us'] = 'Description';
$content_voicemail_greetings['table-description']['pt-pt'] = 'Descrição';
$content_voicemail_greetings['button-back']['en-us'] = 'Back';
$content_voicemail_greetings['button-back']['pt-pt'] = 'Voltar';
$content_voicemail_greetings['button-save']['en-us'] = 'Save';
$content_voicemail_greetings['button-save']['pt-pt'] = 'Guardar';
//v_voicemail_greetings_delete
$content_voicemail_greetings['confirm-delete2']['en-us'] = 'Delete Complete';
$content_voicemail_greetings['confirm-delete2']['pt-pt'] = 'Eliminação Completa';
//v_voicemail_greetings_edit
$content_voicemail_greetings['confirm-name']['en-us'] = 'Please provide: Greeting Name (play)';
$content_voicemail_greetings['confirm-name']['pt-pt'] = 'Por favor, forneça: Nome da saudação (execução)';
$content_voicemail_greetings['confirm-add']['en-us'] = 'Add Complete';
$content_voicemail_greetings['confirm-add']['pt-pt'] = 'Adição Completa';
$content_voicemail_greetings['confirm-update']['en-us'] = 'Update Complete';
$content_voicemail_greetings['confirm-update']['pt-pt'] = 'Actualização Completa';
$content_voicemail_greetings['label-add']['en-us'] = 'Add Greeting';
$content_voicemail_greetings['label-add']['pt-pt'] = 'Adição de Saudação';
$content_voicemail_greetings['label-edit']['en-us'] = 'Edit Greeting';
$content_voicemail_greetings['label-edit']['pt-pt'] = 'Edição de Saudação';
$content_voicemail_greetings['label-name']['en-us'] = 'Greeting Name';
$content_voicemail_greetings['label-name']['pt-pt'] = 'Nome da Saudação';
$content_voicemail_greetings['description-name']['en-us'] = 'Greeting Name. example: greeting_x';
$content_voicemail_greetings['description-name']['pt-pt'] = 'Nome da Saudação. exemplo: saudação_x';
$content_voicemail_greetings['label-description']['en-us'] = 'Description';
$content_voicemail_greetings['label-description']['pt-pt'] = 'Descrição';
$content_voicemail_greetings['description-info']['en-us'] = 'You may enter a description here for your reference (not parsed).';
$content_voicemail_greetings['description-info']['pt-pt'] = 'Pode inserir aqui uma descrição para referência.';
?>

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_greetings as $key => $value) {
$contentvoicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_greetings as $key => $value) {
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
}
require_once "includes/paging.php";
@ -226,20 +226,20 @@ require_once "includes/paging.php";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align='left' width=\"50%\">\n";
echo " <strong>".$contentvoicemail_greetings['title'].":</strong><br>\n";
echo " <strong>".$content_voicemail_greetings['title'].":</strong><br>\n";
echo " </td>";
echo " <td width='50%' align='right'>\n";
echo " <label for=\"file\">".$contentvoicemail_greetings['label-upload'].":</label>\n";
echo " <label for=\"file\">".$content_voicemail_greetings['label-upload'].":</label>\n";
echo " <input name=\"file\" type=\"file\" class=\"btn\" id=\"file\">\n";
echo " <input name=\"type\" type=\"hidden\" value=\"rec\">\n";
echo " <input name=\"submit\" type=\"submit\" class=\"btn\" id=\"upload\" value=\"".$contentvoicemail_greetings['button-save']."\">\n";
echo " <input name=\"submit\" type=\"submit\" class=\"btn\" id=\"upload\" value=\"".$content_voicemail_greetings['button-save']."\">\n";
echo " &nbsp;&nbsp;&nbsp;\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"javascript:history.back();\" value='".$contentvoicemail_greetings['button-back']."'>\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"javascript:history.back();\" value='".$content_voicemail_greetings['button-back']."'>\n";
echo " </td>\n";
echo " </tr>";
echo " <tr>";
echo " <td align='left' colspan='2'>\n";
echo " ".$contentvoicemail_greetings['description']." $user_id. <br />\n";
echo " ".$content_voicemail_greetings['description']." $user_id. <br />\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
@ -315,11 +315,11 @@ require_once "includes/paging.php";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo "<th>".$contentvoicemail_greetings['table-choose']."</th>\n";
echo th_order_by('greeting_name', $contentvoicemail_greetings['table-name'], $order_by, $order);
echo "<th align='right'>".$contentvoicemail_greetings['table-download']."</th>\n";
echo "<th width=\"50px\" class=\"listhdr\" nowrap=\"nowrap\">".$contentvoicemail_greetings['table-size']."</th>\n";
echo th_order_by('greeting_description', $contentvoicemail_greetings['table-description'], $order_by, $order);
echo "<th>".$content_voicemail_greetings['table-choose']."</th>\n";
echo th_order_by('greeting_name', $content_voicemail_greetings['table-name'], $order_by, $order);
echo "<th align='right'>".$content_voicemail_greetings['table-download']."</th>\n";
echo "<th width=\"50px\" class=\"listhdr\" nowrap=\"nowrap\">".$content_voicemail_greetings['table-size']."</th>\n";
echo th_order_by('greeting_description', $content_voicemail_greetings['table-description'], $order_by, $order);
echo "<td align='right' width='42'>\n";
//if (permission_exists('voicemail_greetings_add')) {
// echo " <a href='v_voicemail_greetings_edit.php?&user_id=".$user_id."' alt='add'>$v_link_label_add</a>\n";

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_greetings as $key => $value) {
$contentvoicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_greetings as $key => $value) {
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
}
if (count($_GET)>0) {
@ -81,7 +81,7 @@ if (strlen($id)>0) {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_voicemail_greetings.php?id=$user_id\">\n";
echo "<div align='center'>\n";
echo "".$contentvoicemail_greetings['confirm-delete2']."\n";
echo "".$content_voicemail_greetings['confirm-delete2']."\n";
echo "</div>\n";
require_once "includes/footer.php";
return;

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_greetings as $key => $value) {
$contentvoicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_greetings as $key => $value) {
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
}
//set the action as an add or an update
@ -68,7 +68,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//check for all required data
//if (strlen($domain_uuid) == 0) { $msg .= "Please provide: domain_uuid<br>\n"; }
if (strlen($greeting_name) == 0) { $msg .= "".$contentvoicemail_greetings['confirm-name']."<br>\n"; }
if (strlen($greeting_name) == 0) { $msg .= "".$content_voicemail_greetings['confirm-name']."<br>\n"; }
//if (strlen($greeting_description) == 0) { $msg .= "Please provide: Description<br>\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
@ -107,7 +107,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_voicemail_greetings.php?id=".$user_id."\">\n";
echo "<div align='center'>\n";
echo "".$contentvoicemail_greetings['confirm-add']."\n";
echo "".$content_voicemail_greetings['confirm-add']."\n";
echo "</div>\n";
require_once "includes/footer.php";
return;
@ -148,7 +148,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_voicemail_greetings.php?id=".$user_id."\">\n";
echo "<div align='center'>\n";
echo "".$contentvoicemail_greetings['confirm-update']."\n";
echo "".$content_voicemail_greetings['confirm-update']."\n";
echo "</div>\n";
require_once "includes/footer.php";
return;
@ -191,33 +191,33 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
if ($action == "add") {
echo "<td align='left' width='30%' nowrap><b>".$contentvoicemail_greetings['label-add']."</b></td>\n";
echo "<td align='left' width='30%' nowrap><b>".$content_voicemail_greetings['label-add']."</b></td>\n";
}
if ($action == "update") {
echo "<td align='left' width='30%' nowrap><b>".$contentvoicemail_greetings['label-edit']['en-us']."</b></td>\n";
echo "<td align='left' width='30%' nowrap><b>".$content_voicemail_greetings['label-edit']['en-us']."</b></td>\n";
}
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_voicemail_greetings.php?id=".$user_id."'\" value='".$contentvoicemail_greetings['button-back']."'></td>\n";
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_voicemail_greetings.php?id=".$user_id."'\" value='".$content_voicemail_greetings['button-back']."'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_greetings['label-name'].":\n";
echo " ".$content_voicemail_greetings['label-name'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='greeting_name' maxlength='255' value=\"$greeting_name\">\n";
echo "<br />\n";
echo "".$contentvoicemail_greetings['description-name']."\n";
echo "".$content_voicemail_greetings['description-name']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_greetings['label-description'].":\n";
echo " ".$content_voicemail_greetings['label-description'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='greeting_description' maxlength='255' value=\"$greeting_description\">\n";
echo "<br />\n";
echo "".$contentvoicemail_greetings['description-info']."\n";
echo "".$content_voicemail_greetings['description-info']."\n";
echo "</td>\n";
echo "</tr>\n";
echo " <tr>\n";
@ -226,7 +226,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <input type='hidden' name='greeting_uuid' value='$greeting_uuid'>\n";
}
echo " <input type='hidden' name='user_id' value='$user_id'>\n";
echo " <input type='submit' name='submit' class='btn' value='".$contentvoicemail_greetings['button-save']."'>\n";
echo " <input type='submit' name='submit' class='btn' value='".$content_voicemail_greetings['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";

View File

@ -1,119 +1,111 @@
<?php
$contentvoicemail_msgs['title']['en-us'] = 'Voicemail Messages';
$contentvoicemail_msgs['title']['pt-pt'] = 'Mensagens de correio de voz';
$content_voicemail_msgs['title']['en-us'] = 'Voicemail Messages';
$content_voicemail_msgs['title']['pt-pt'] = 'Mensagens de correio de voz';
$contentvoicemail_msgs['description']['en-us'] = 'Voicemails are listed, played, downloaded and deleted from this page.';
$contentvoicemail_msgs['description']['pt-pt'] = 'As mensagens de voz são listadas, reproduzidas, descarregadas e excluídas através desta página.';
$contentvoicemail_msgs['button-greetings']['en-us'] = 'Greetings';
$contentvoicemail_msgs['button-greetings']['pt-pt'] = 'Saudações';
$contentvoicemail_msgs['button-settings']['en-us'] = 'Settings';
$contentvoicemail_msgs['button-settings']['pt-pt'] = 'Definições';
$contentvoicemail_msgs['table-mailbox']['en-us'] = 'Mailbox';
$contentvoicemail_msgs['table-mailbox']['pt-pt'] = 'Caixa de Correio';
$contentvoicemail_msgs['description2']['en-us'] = 'Voicemails for an extension are shown to the user(s) that have been assigned to an extension.';
$contentvoicemail_msgs['description2']['pt-pt'] = 'As mensagens de voz de uma extensão são apresentadas para os utilizadores que foram associados a uma extensão.';
$contentvoicemail_msgs['description3']['en-us'] = 'User accounts are created in the "User Manager" and then are assigned on the "Extensions" page.';
$contentvoicemail_msgs['description3']['pt-pt'] = 'As contas de utilizador são criadas no "Gestor de utilizadores" e, em seguida, são atribuídos na página de "Extensões".';
$contentvoicemail_msgs['label-created']['en-us'] = 'Created';
$contentvoicemail_msgs['label-created']['pt-pt'] = 'Criado';
$contentvoicemail_msgs['label-calleridname']['en-us'] = 'Caller ID Name';
$contentvoicemail_msgs['label-calleridname']['pt-pt'] = 'Nome de Origem';
$contentvoicemail_msgs['label-calleridnumber']['en-us'] = 'Caller ID Number';
$contentvoicemail_msgs['label-calleridnumber']['pt-pt'] = 'Número de Origem';
$contentvoicemail_msgs['label-folder']['en-us'] = 'Folder';
$contentvoicemail_msgs['label-folder']['pt-pt'] = 'Pasta';
$contentvoicemail_msgs['label-length']['en-us'] = 'Length (play)';
$contentvoicemail_msgs['label-length']['pt-pt'] = 'Comprimento (Reprodução)';
$contentvoicemail_msgs['label-size']['en-us'] = 'Size (download)';
$contentvoicemail_msgs['label-size']['pt-pt'] = 'Tamanho (download)';
$contentvoicemail_msgs['confirm-delete']['en-us'] = 'Are you sure you want to delete this?';
$contentvoicemail_msgs['confirm-delete']['pt-pt'] = 'Tem a certeza que pretende apagar?';
$contentvoicemail_msgs['confirm-password']['en-us'] = 'Please provide: Voicemail Password';
$contentvoicemail_msgs['confirm-password']['pt-pt'] = 'Por favor, forneça: Palavra passe de Correio de Voz';
$contentvoicemail_msgs['confirm-update']['en-us'] = 'Update Complete';
$contentvoicemail_msgs['confirm-update']['pt-pt'] = 'Actualização Completa';
$contentvoicemail_msgs['label-voicemail']['en-us'] = 'Voicemail Settings for:';
$contentvoicemail_msgs['label-voicemail']['pt-pt'] = 'Configurações de correio de voz para:';
$contentvoicemail_msgs['button-back']['en-us'] = 'Back';
$contentvoicemail_msgs['button-back']['pt-pt'] = 'Voltar';
$contentvoicemail_msgs['button-save']['en-us'] = 'Save';
$contentvoicemail_msgs['button-save']['pt-pt'] = 'Guardar';
$contentvoicemail_msgs['label-password']['en-us'] = 'Voicemail Password';
$contentvoicemail_msgs['label-password']['pt-pt'] = 'Palavra Chave de Correio de Voz';
$contentvoicemail_msgs['label-passwordinfo']['en-us'] = 'Enter the password here.';
$contentvoicemail_msgs['label-passwordinfo']['pt-pt'] = 'Digite a palavra passe aqui.';
$contentvoicemail_msgs['label-enabled']['en-us'] = 'Voicemail Enabled';
$contentvoicemail_msgs['label-enabled']['pt-pt'] = 'Correio de Voz Ativado';
$contentvoicemail_msgs['description-confenable']['en-us'] = 'Enable/disable voicemail for this extension.';
$contentvoicemail_msgs['description-confenable']['pt-pt'] = 'Ativar/desativar o correio de voz para esta extensão.';
$contentvoicemail_msgs['check-true']['en-us'] = 'true';
$contentvoicemail_msgs['ckeck-true']['pt-pt'] = 'verdade';
$contentvoicemail_msgs['check-false']['en-us'] = 'false';
$contentvoicemail_msgs['ckeck-false']['pt-pt'] = 'falso';
$contentvoicemail_msgs['label-mail']['en-us'] = 'Voicemail Mail To';
$contentvoicemail_msgs['label-mail']['pt-pt'] = 'Correio de voz para Email';
$contentvoicemail_msgs['label-mailinfo']['en-us'] = 'Optional: Enter the email address to send voicemail to.';
$contentvoicemail_msgs['label-mailinfo']['pt-pt'] = 'Opcional: Digite o endereço de e-mail para enviar correio de voz para lá.';
$contentvoicemail_msgs['label-attach']['en-us'] = 'Voicemail Attach File';
$contentvoicemail_msgs['label-attach']['pt-pt'] = 'Anexar arquivo ao Correio de Voz';
$contentvoicemail_msgs['label-attachinfo']['en-us'] = 'Choose whether to attach the file to the email.';
$contentvoicemail_msgs['label-attachinfo']['pt-pt'] = 'Escolha se desejar, anexar o arquivo para o e-mail.';
$contentvoicemail_msgs['label-vm']['en-us'] = 'VM Keep Local After Email';
$contentvoicemail_msgs['label-vm']['pt-pt'] = 'Mantenha o Correio de Voz local após e-mail';
$contentvoicemail_msgs['label-vminfo']['en-us'] = 'Keep local file after sending the email.';
$contentvoicemail_msgs['label-vminfo']['pt-pt'] = 'Manter uma copia do arquivo localmente, após o envio do e-mail.';
$contentvoicemail_msgs['confirm-delete2']['en-us'] = 'Delete';
$contentvoicemail_msgs['confirm-delete2']['pt-pt'] = 'Eliminação';
$contentvoicemail_msgs['confirm-complete']['en-us'] = 'Complete';
$contentvoicemail_msgs['confirm-complete']['pt-pt'] = 'Completa';
$contentvoicemail_msgs['confirm-failed']['en-us'] = 'Failed';
$contentvoicemail_msgs['confirm-failed']['pt-pt'] = 'Falhada';
$contentvoicemail_msgs['confirm-socket']['en-us'] = 'Connection to Event Socket failed.';
$contentvoicemail_msgs['confirm-socket']['pt-pt'] = 'Ligação ao Event Socket falhou.';
$contentvoicemail_msgs['label-message']['en-us'] = 'Message';
$contentvoicemail_msgs['label-message']['pt-pt'] = 'Mensagem';
?>
$content_voicemail_msgs['description']['en-us'] = 'Voicemails are listed, played, downloaded and deleted from this page.';
$content_voicemail_msgs['description']['pt-pt'] = 'As mensagens de voz são listadas, reproduzidas, descarregadas e excluídas através desta página.';
$content_voicemail_msgs['button-greetings']['en-us'] = 'Greetings';
$content_voicemail_msgs['button-greetings']['pt-pt'] = 'Saudações';
$content_voicemail_msgs['button-settings']['en-us'] = 'Settings';
$content_voicemail_msgs['button-settings']['pt-pt'] = 'Definições';
$content_voicemail_msgs['table-mailbox']['en-us'] = 'Mailbox';
$content_voicemail_msgs['table-mailbox']['pt-pt'] = 'Caixa de Correio';
$content_voicemail_msgs['description2']['en-us'] = 'Voicemails for an extension are shown to the user(s) that have been assigned to an extension.';
$content_voicemail_msgs['description2']['pt-pt'] = 'As mensagens de voz de uma extensão são apresentadas para os utilizadores que foram associados a uma extensão.';
$content_voicemail_msgs['description3']['en-us'] = 'User accounts are created in the "User Manager" and then are assigned on the "Extensions" page.';
$content_voicemail_msgs['description3']['pt-pt'] = 'As contas de utilizador são criadas no "Gestor de utilizadores" e, em seguida, são atribuídos na página de "Extensões".';
$content_voicemail_msgs['label-created']['en-us'] = 'Created';
$content_voicemail_msgs['label-created']['pt-pt'] = 'Criado';
$content_voicemail_msgs['label-callerid-name']['en-us'] = 'Caller ID Name';
$content_voicemail_msgs['label-callerid-name']['pt-pt'] = 'Nome de Origem';
$content_voicemail_msgs['label-callerid-number']['en-us'] = 'Caller ID Number';
$content_voicemail_msgs['label-callerid-number']['pt-pt'] = 'Número de Origem';
$content_voicemail_msgs['label-folder']['en-us'] = 'Folder';
$content_voicemail_msgs['label-folder']['pt-pt'] = 'Pasta';
$content_voicemail_msgs['label-length']['en-us'] = 'Length (play)';
$content_voicemail_msgs['label-length']['pt-pt'] = 'Comprimento (Reprodução)';
$content_voicemail_msgs['label-size']['en-us'] = 'Size (download)';
$content_voicemail_msgs['label-size']['pt-pt'] = 'Tamanho (download)';
$content_voicemail_msgs['confirm-delete']['en-us'] = 'Are you sure you want to delete this?';
$content_voicemail_msgs['confirm-delete']['pt-pt'] = 'Tem a certeza que pretende apagar?';
$content_voicemail_msgs['confirm-password']['en-us'] = 'Please provide: Voicemail Password';
$content_voicemail_msgs['confirm-password']['pt-pt'] = 'Por favor, forneça: Palavra passe de Correio de Voz';
$content_voicemail_msgs['confirm-update']['en-us'] = 'Update Complete';
$content_voicemail_msgs['confirm-update']['pt-pt'] = 'Actualização Completa';
$content_voicemail_msgs['label-voicemail']['en-us'] = 'Voicemail Settings for:';
$content_voicemail_msgs['label-voicemail']['pt-pt'] = 'Configurações de correio de voz para:';
$content_voicemail_msgs['button-back']['en-us'] = 'Back';
$content_voicemail_msgs['button-back']['pt-pt'] = 'Voltar';
$content_voicemail_msgs['button-save']['en-us'] = 'Save';
$content_voicemail_msgs['button-save']['pt-pt'] = 'Guardar';
$content_voicemail_msgs['label-password']['en-us'] = 'Voicemail Password';
$content_voicemail_msgs['label-password']['pt-pt'] = 'Palavra Chave de Correio de Voz';
$content_voicemail_msgs['description-password']['en-us'] = 'Enter the password here.';
$content_voicemail_msgs['description-password']['pt-pt'] = 'Digite a palavra passe aqui.';
$content_voicemail_msgs['label-enabled']['en-us'] = 'Voicemail Enabled';
$content_voicemail_msgs['label-enabled']['pt-pt'] = 'Correio de Voz Ativado';
$content_voicemail_msgs['description-confenable']['en-us'] = 'Enable/disable voicemail for this extension.';
$content_voicemail_msgs['description-confenable']['pt-pt'] = 'Ativar/desativar o correio de voz para esta extensão.';
$content_voicemail_msgs['check-true']['en-us'] = 'true';
$content_voicemail_msgs['ckeck-true']['pt-pt'] = 'verdade';
$content_voicemail_msgs['check-false']['en-us'] = 'false';
$content_voicemail_msgs['ckeck-false']['pt-pt'] = 'falso';
$content_voicemail_msgs['label-mail']['en-us'] = 'Voicemail Mail To';
$content_voicemail_msgs['label-mail']['pt-pt'] = 'Correio de voz para Email';
$content_voicemail_msgs['description-email']['en-us'] = 'Optional: Enter the email address to send voicemail to.';
$content_voicemail_msgs['description-email']['pt-pt'] = 'Opcional: Digite o endereço de e-mail para enviar correio de voz para lá.';
$content_voicemail_msgs['label-attach']['en-us'] = 'Voicemail Attach File';
$content_voicemail_msgs['label-attach']['pt-pt'] = 'Anexar arquivo ao Correio de Voz';
$content_voicemail_msgs['description-email-attachment']['en-us'] = 'Choose whether to attach the file to the email.';
$content_voicemail_msgs['description-email-attachment']['pt-pt'] = 'Escolha se desejar, anexar o arquivo para o e-mail.';
$content_voicemail_msgs['label-vm']['en-us'] = 'VM Keep Local After Email';
$content_voicemail_msgs['label-vm']['pt-pt'] = 'Mantenha o Correio de Voz local após e-mail';
$content_voicemail_msgs['description-keep-local']['en-us'] = 'Keep local file after sending the email.';
$content_voicemail_msgs['description-keep-local']['pt-pt'] = 'Manter uma copia do arquivo localmente, após o envio do e-mail.';
$content_voicemail_msgs['confirm-delete2']['en-us'] = 'Delete';
$content_voicemail_msgs['confirm-delete2']['pt-pt'] = 'Eliminação';
$content_voicemail_msgs['confirm-complete']['en-us'] = 'Complete';
$content_voicemail_msgs['confirm-complete']['pt-pt'] = 'Completa';
$content_voicemail_msgs['confirm-failed']['en-us'] = 'Failed';
$content_voicemail_msgs['confirm-failed']['pt-pt'] = 'Falhada';
$content_voicemail_msgs['confirm-socket']['en-us'] = 'Connection to Event Socket failed.';
$content_voicemail_msgs['confirm-socket']['pt-pt'] = 'Ligação ao Event Socket falhou.';
$content_voicemail_msgs['label-message']['en-us'] = 'Message';
$content_voicemail_msgs['label-message']['pt-pt'] = 'Mensagem';
?>

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_msgs as $key => $value) {
$contentvoicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_msgs as $key => $value) {
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
}
//download the voicemail
if ($_GET['a'] == "download") {
@ -130,15 +130,15 @@ else {
echo "<table width='100%' border='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='50%' nowrap><b>".$contentvoicemail_msgs['title']."</b></td>\n";
echo "<td align='left' width='50%' nowrap><b>".$content_voicemail_msgs['title']."</b></td>\n";
echo "<td align='left' width='50%' align='right'>&nbsp;</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td colspan='2' align='left'>\n";
echo "".$contentvoicemail_msgs['description']." \n";
echo "".$content_voicemail_msgs['description']." \n";
if (if_group("admin") || if_group("superadmin")) {
echo "".$contentvoicemail_msgs['description2']." \n";
echo "".$contentvoicemail_msgs['description3']." \n";
echo "".$content_voicemail_msgs['description2']." \n";
echo "".$content_voicemail_msgs['description3']." \n";
echo " <br />\n";
echo " <br />\n";
}
@ -148,18 +148,18 @@ else {
$tmp_msg_header = '';
$tmp_msg_header .= "<tr>\n";
$tmp_msg_header .= th_order_by('created_epoch', $contentvoicemail_msgs['label-created'], $order_by, $order);
$tmp_msg_header .= th_order_by('created_epoch', $content_voicemail_msgs['label-created'], $order_by, $order);
//$tmp_msg_header .= th_order_by('read_epoch', 'Read', $order_by, $order);
//$tmp_msg_header .= th_order_by('username', 'Ext', $order_by, $order);
//$tmp_msg_header .= th_order_by('domain', 'Domain', $order_by, $order);
//$tmp_msg_header .= th_order_by('uuid', 'UUID', $order_by, $order);
$tmp_msg_header .= th_order_by('cid_name', $contentvoicemail_msgs['label-calleridname'], $order_by, $order);
$tmp_msg_header .= th_order_by('cid_number', $contentvoicemail_msgs['label-calleridnumber'], $order_by, $order);
$tmp_msg_header .= th_order_by('in_folder', $contentvoicemail_msgs['label-folder'], $order_by, $order);
$tmp_msg_header .= th_order_by('cid_name', $content_voicemail_msgs['label-callerid-name'], $order_by, $order);
$tmp_msg_header .= th_order_by('cid_number', $content_voicemail_msgs['label-callerid-number'], $order_by, $order);
$tmp_msg_header .= th_order_by('in_folder', $content_voicemail_msgs['label-folder'], $order_by, $order);
//$tmp_msg_header .= "<th>Options</th>\n";
//$tmp_msg_header .= th_order_by('file_path', 'File Path', $order_by, $order);
$tmp_msg_header .= th_order_by('message_len', $contentvoicemail_msgs['label-length'], $order_by, $order);
$tmp_msg_header .= "<th nowrap>".$contentvoicemail_msgs['label-size']."</th>\n";
$tmp_msg_header .= th_order_by('message_len', $content_voicemail_msgs['label-length'], $order_by, $order);
$tmp_msg_header .= "<th nowrap>".$content_voicemail_msgs['label-size']."</th>\n";
//$tmp_msg_header .= th_order_by('flags', 'Flags', $order_by, $order);
//$tmp_msg_header .= th_order_by('read_flags', 'Read Flags', $order_by, $order);
$tmp_msg_header .= "<td align='right' width='22'>\n";
@ -177,12 +177,12 @@ else {
if (strlen($value['user']) > 0) {
echo "<tr><td colspan='5' align='left'>\n";
echo " <br />\n";
echo " <b>".$contentvoicemail_msgs['table-mailbox'].": ".$value['user']."</b>&nbsp;\n";
echo " <b>".$content_voicemail_msgs['table-mailbox'].": ".$value['user']."</b>&nbsp;\n";
echo " \n";
echo "</td>\n";
echo "<td valign='bottom' align='right'>\n";
echo " <input type='button' class='btn' name='' alt='greetings' onclick=\"window.location='".PROJECT_PATH."/app/voicemail_greetings/v_voicemail_greetings.php?id=".$value['user']."'\" value='".$contentvoicemail_msgs['button-greetings']."'>\n";
echo " <input type='button' class='btn' name='' alt='settings' onclick=\"window.location='v_voicemail_msgs_password.php?id=".$value['extension_uuid']."'\" value='".$contentvoicemail_msgs['button-settings']."'>\n";
echo " <input type='button' class='btn' name='' alt='greetings' onclick=\"window.location='".PROJECT_PATH."/app/voicemail_greetings/v_voicemail_greetings.php?id=".$value['user']."'\" value='".$content_voicemail_msgs['button-greetings']."'>\n";
echo " <input type='button' class='btn' name='' alt='settings' onclick=\"window.location='v_voicemail_msgs_password.php?id=".$value['extension_uuid']."'\" value='".$content_voicemail_msgs['button-settings']."'>\n";
echo "</td>\n";
echo "</tr>\n";
@ -267,7 +267,7 @@ else {
echo "</td>\n";
echo " <td valign='top' align='center' nowrap>\n";
//echo " <a href='v_voicemail_msgs_edit.php?id=".$row[voicemail_msg_id]."' alt='edit'>$v_link_label_edit</a>\n";
echo " &nbsp;&nbsp;<a href='v_voicemail_msgs_delete.php?uuid=".$row['uuid']."&id=".$row['username']."' alt='delete message' title='delete message' onclick=\"return confirm('".$contentvoicemail_msgs['confirm-delete']."')\">$v_link_label_delete</a>\n";
echo " &nbsp;&nbsp;<a href='v_voicemail_msgs_delete.php?uuid=".$row['uuid']."&id=".$row['username']."' alt='delete message' title='delete message' onclick=\"return confirm('".$content_voicemail_msgs['confirm-delete']."')\">$v_link_label_delete</a>\n";
echo " </td>\n";
echo "</tr>\n";

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_msgs as $key => $value) {
$contentvoicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_msgs as $key => $value) {
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
}
//get the http get values
@ -51,7 +51,7 @@ else {
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if (!$fp) {
$msg = "<div align='center'>".$contentvoicemail_msgs['confirm-socket']."<br /></div>";
$msg = "<div align='center'>".$content_voicemail_msgs['confirm-socket']."<br /></div>";
}
//show the error message or show the content
@ -60,7 +60,7 @@ else {
echo "<div align='center'>\n";
echo " <table width='40%'>\n";
echo " <tr>\n";
echo " <th align='left'>".$contentvoicemail_msgs['label-message']."</th>\n";
echo " <th align='left'>".$content_voicemail_msgs['label-message']."</th>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td class='row_style1'><strong>$msg</strong></td>\n";
@ -76,17 +76,17 @@ else {
$response = trim(event_socket_request($fp, $cmd));
echo $xml_response;
if (strcmp($response,"+OK")==0) {
$msg = "".$contentvoicemail_msgs['confirm-complete']."";
$msg = "".$content_voicemail_msgs['confirm-complete']."";
}
else {
$msg = "".$contentvoicemail_msgs['confirm-failed']."";
$msg = "".$content_voicemail_msgs['confirm-failed']."";
}
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_voicemail_msgs.php\">\n";
echo "<div align='center'>\n";
echo "".$contentvoicemail_msgs['confirm-delete2']." $msg\n";
echo "".$content_voicemail_msgs['confirm-delete2']." $msg\n";
echo "</div>\n";
require_once "includes/footer.php";
return;

View File

@ -35,8 +35,8 @@ else {
exit;
}
foreach($contentvoicemail_msgs as $key => $value) {
$contentvoicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_msgs as $key => $value) {
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
}
//set the action as an add or update
@ -119,7 +119,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//if (strlen($extension) == 0) { $msg .= "Please provide: Extension<br>\n"; }
//if (strlen($password) == 0) { $msg .= "Please provide: Password<br>\n"; }
//if (strlen($mailbox) == 0) { $msg .= "Please provide: Mailbox<br>\n"; }
if (strlen($vm_password) == 0) { $msg .= "".$contentvoicemail_msgs['confirm-password']."<br>\n"; }
if (strlen($vm_password) == 0) { $msg .= "".$content_voicemail_msgs['confirm-password']."<br>\n"; }
//if (strlen($accountcode) == 0) { $msg .= "Please provide: Account Code<br>\n"; }
//if (strlen($effective_caller_id_name) == 0) { $msg .= "Please provide: Effective Caller ID Name<br>\n"; }
//if (strlen($effective_caller_id_number) == 0) { $msg .= "Please provide: Effective Caller ID Number<br>\n"; }
@ -189,7 +189,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=v_voicemail_msgs.php\">\n";
echo "<div align='center'>\n";
echo "".$contentvoicemail_msgs['confirm-update']."\n";
echo "".$content_voicemail_msgs['confirm-update']."\n";
echo "</div>\n";
require_once "includes/footer.php";
return;
@ -271,18 +271,18 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<div align='center'>\n";
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo " <td width='30%' nowrap valign='top' align='left'><b>".$contentvoicemail_msgs['label-voicemail']." $extension</b></td>\n";
echo " <td width='70%' align='right' valign='top'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_voicemail_msgs.php'\" value='".$contentvoicemail_msgs['button-back']."'><br /><br /></td>\n";
echo " <td width='30%' nowrap valign='top' align='left'><b>".$content_voicemail_msgs['label-voicemail']." $extension</b></td>\n";
echo " <td width='70%' align='right' valign='top'><input type='button' class='btn' name='' alt='back' onclick=\"window.location='v_voicemail_msgs.php'\" value='".$content_voicemail_msgs['button-back']."'><br /><br /></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_msgs['label-password'].":\n";
echo " ".$content_voicemail_msgs['label-password'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='password' name='vm_password' id='password' onfocus=\"document.getElementById('show_password').innerHTML = 'Password: '+document.getElementById('password').value;\" autocomplete='off' maxlength='50' value=\"$vm_password\">\n";
echo "<br />\n";
echo "<span onclick=\"document.getElementById('show_password').innerHTML = ''\">".$contentvoicemail_msgs['label-passwordinfo']." </span><span id='show_password'></span>\n";
echo "<span onclick=\"document.getElementById('show_password').innerHTML = ''\">".$content_voicemail_msgs['description-password']." </span><span id='show_password'></span>\n";
echo "</td>\n";
echo "</tr>\n";
@ -310,7 +310,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_msgs['label-enabled'].":\n";
echo " ".$content_voicemail_msgs['label-enabled'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='vm_enabled'>\n";
@ -329,24 +329,24 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " </select>\n";
echo "<br />\n";
echo " ".$contentvoicemail_msgs['description-confenable']."\n";
echo " ".$content_voicemail_msgs['description-confenable']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_msgs['label-mail'].":\n";
echo " ".$content_voicemail_msgs['label-mail'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='vm_mailto' maxlength='255' value=\"$vm_mailto\">\n";
echo "<br />\n";
echo "".$contentvoicemail_msgs['label-mailinfo']."\n";
echo "".$content_voicemail_msgs['description-email']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_msgs['label-attach'].":\n";
echo " ".$content_voicemail_msgs['label-attach'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='vm_attach_file'>\n";
@ -365,13 +365,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " </select>\n";
echo "<br />\n";
echo "".$contentvoicemail_msgs['label-attachinfo']."\n";
echo "".$content_voicemail_msgs['description-email-attachment']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
echo " ".$contentvoicemail_msgs['label-vm'].":\n";
echo " ".$content_voicemail_msgs['label-vm'].":\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <select class='formfld' name='vm_keep_local_after_email'>\n";
@ -390,7 +390,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
echo " </select>\n";
echo "<br />\n";
echo "".$contentvoicemail_msgs['label-vminfo']." \n";
echo "".$content_voicemail_msgs['description-keep-local']." \n";
echo "</td>\n";
echo "</tr>\n";
@ -410,7 +410,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "update") {
echo " <input type='hidden' name='extension_uuid' value='$extension_uuid'>\n";
}
echo " <input type='submit' name='submit' class='btn' value='".$contentvoicemail_msgs['button-save']."'>\n";
echo " <input type='submit' name='submit' class='btn' value='".$content_voicemail_msgs['button-save']."'>\n";
echo " </td>\n";
echo " </tr>";
echo "</table>";

View File

@ -36,8 +36,8 @@ else {
exit;
}
foreach($contentvoicemail_msgs as $key => $value) {
$contentvoicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
foreach($content_voicemail_msgs as $key => $value) {
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
}
//get the http get values
@ -53,7 +53,7 @@ else {
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if (!$fp) {
$msg = "<div align='center'>".$contentvoicemail_msgs['confirm-socket']."<br /></div>";
$msg = "<div align='center'>".$content_voicemail_msgs['confirm-socket']."<br /></div>";
}
//show the error message or show the content
@ -62,7 +62,7 @@ else {
echo "<div align='center'>\n";
echo " <table width='40%'>\n";
echo " <tr>\n";
echo " <th align='left'>".$contentvoicemail_msgs['label-message']."</th>\n";
echo " <th align='left'>".$content_voicemail_msgs['label-message']."</th>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td class='row_style1'><strong>$msg</strong></td>\n";

View File

@ -1,144 +1,144 @@
<?php
//xml_cdr
$content_cdr['title']['en-us'] = 'Call Detail Records';
$content_cdr['title']['pt-pt'] = 'Detalhes da Gravação de Chamadas';
//xml_cdr
$content_cdr['title']['en-us'] = 'Call Detail Records';
$content_cdr['title']['pt-pt'] = 'Detalhes da Gravação de Chamadas';
$content_cdr['description']['en-us'] = 'Call Detail Records (CDRs) are detailed information on the calls.';
$content_cdr['description']['pt-pt'] = 'Detalhes da Gravação de Chamadas, são informações detalhadas sobre as chamadas.';
$content_cdr['description2']['en-us'] = 'The information contains source, destination, duration, and other useful call details.';
$content_cdr['description2']['pt-pt'] = 'A informação contém fonte, destino, duração e outros detalhes úteis da chamada.';
$content_cdr['description3']['en-us'] = 'Use the fields to filter the information for the specific call records that are desired.';
$content_cdr['description3']['pt-pt'] = 'Utilize os campos para filtrar a informação para os registos de chamadas específicas que são desejados.';
$content_cdr['description4']['en-us'] = 'Then view the calls in the list or download them as comma seperated file by using the "csv" button.';
$content_cdr['description4']['pt-pt'] = 'Então pode ver as chamadas na lista ou descarrega-las como arquivo separadas por vírgulas usando o botão "csv".';
$content_cdr['label-description']['en-us'] = 'Description';
$content_cdr['label-description']['pt-pt'] = 'Descrição';
$content_cdr['label-cidname']['en-us'] = 'CID Name';
$content_cdr['label-cidname']['pt-pt'] = 'Nome CID';
$content_cdr['label-inbound']['en-us'] = 'inbound';
$content_cdr['label-inbound']['pt-pt'] = 'entrada';
$content_cdr['label-outbound']['en-us'] = 'outbound';
$content_cdr['label-outbound']['pt-pt'] = 'saida';
$content_cdr['label-local']['en-us'] = 'local';
$content_cdr['label-local']['pt-pt'] = 'local';
$content_cdr['label-source']['en-us'] = 'Source';
$content_cdr['label-source']['pt-pt'] = 'Origem';
$content_cdr['label-destination']['en-us'] = 'Destination';
$content_cdr['label-destination']['pt-pt'] = 'Destino';
$content_cdr['label-start']['en-us'] = 'Start';
$content_cdr['label-start']['pt-pt'] = 'Inicio';
$content_cdr['label-status']['en-us'] = 'Status';
$content_cdr['label-status']['pt-pt'] = 'Estado';
$content_cdr['label-name']['en-us'] = 'Name';
$content_cdr['label-name']['pt-pt'] = 'Nome';
$content_cdr['label-number']['en-us'] = 'Number';
$content_cdr['label-number']['pt-pt'] = 'Numero';
$content_cdr['label-length']['en-us'] = 'Length';
$content_cdr['label-length']['pt-pt'] = 'Comprimento';
$content_cdr['label-statistics']['en-us'] = 'Statistics';
$content_cdr['label-statistics']['pt-pt'] = 'Estatisticas';
//xml_cdr_details
$content_cdr['title2']['en-us'] = 'Call Details';
$content_cdr['title2']['pt-pt'] = 'Detalhes das Chamadas';
$content_cdr['button-back']['en-us'] = 'Back';
$content_cdr['button-back']['pt-pt'] = 'Voltar';
$content_cdr['description5']['en-us'] = 'A detailed view of the call and all information regarding it.';
$content_cdr['description5']['pt-pt'] = 'Uma visão detalhada da chamada e todas as informações sobre ela.';
$content_cdr['description6']['en-us'] = 'The information contains caller id name and number, channel data, ';
$content_cdr['description6']['pt-pt'] = 'A informação contém o nome e numero de origem, dados do canal, ';
$content_cdr['description7']['en-us'] = 'call variables, call flow, timing information, and other useful call details.';
$content_cdr['description7']['pt-pt'] = 'variáveis de chamada, fluxo da chamada, informações de tempo e outros detalhes úteis da chamada.';
$content_cdr['label-summary']['en-us'] = 'Summary';
$content_cdr['label-summary']['pt-pt'] = 'Sumario';
$content_cdr['table-direction']['en-us'] = 'Direction';
$content_cdr['table-direction']['pt-pt'] = 'Direcção';
$content_cdr['table-name']['en-us'] = 'Name (play)';
$content_cdr['table-name']['pt-pt'] = 'None (executar)';
$content_cdr['table-download']['en-us'] = 'Number (download)';
$content_cdr['table-download']['pt-pt'] = 'Numero (descarregar)';
$content_cdr['table-end']['en-us'] = 'End';
$content_cdr['table-end']['pt-pt'] = 'Final';
$content_cdr['label-channel']['en-us'] = 'Channel Data';
$content_cdr['label-channel']['pt-pt'] = 'Dados de Canal';
$content_cdr['label-value']['en-us'] = 'Value';
$content_cdr['label-value']['pt-pt'] = 'Valor';
$content_cdr['label-applog']['en-us'] = 'Application Log';
$content_cdr['label-applog']['pt-pt'] = 'Log de Aplicação';
$content_cdr['label-data']['en-us'] = 'Data';
$content_cdr['label-data']['pt-pt'] = 'Dados';
$content_cdr['label-callflow']['en-us'] = 'Call Flow: Attributes';
$content_cdr['label-callflow']['pt-pt'] = 'Fluxos de chamada: Atributos';
$content_cdr['label-callflow2']['en-us'] = 'Call Flow: Extension: Attributes';
$content_cdr['label-callflow2']['pt-pt'] = 'Fluxos de chamada: Extensão: Atributos';
$content_cdr['label-callflow3']['en-us'] = 'Call Flow: Extension: Application';
$content_cdr['label-callflow3']['pt-pt'] = 'Fluxos de chamada: Extensão: Aplicação';
$content_cdr['label-callflow4']['en-us'] = 'Call Flow: Caller Profile';
$content_cdr['label-callflow4']['pt-pt'] = 'Fluxos de chamada: Perfil de chamador';
$content_cdr['label-callflow5']['en-us'] = 'Call Flow: Times';
$content_cdr['label-callflow5']['pt-pt'] = 'Fluxos de chamada: Tempos';
//xml_cdr_statistics
$content_cdr['label-callstatistics']['en-us'] = 'Call Detail Record Statistics';
$content_cdr['label-callstatistics']['pt-pt'] = 'Estatisticas dos Detalhes da Gravação de Chamadas';
$content_cdr['label-callstatisticsdescription']['en-us'] = 'Call Detail Records Statics summarize the call information.';
$content_cdr['label-callstatisticsdescription']['pt-pt'] = 'As Estatisticas dos Detalhes da Gravação de Chamadas resumem as informações da chamada.';
$content_cdr['table-hours']['en-us'] = 'Hours';
$content_cdr['table-hours']['pt-pt'] = 'Horas';
$content_cdr['table-date']['en-us'] = 'Date';
$content_cdr['table-date']['pt-pt'] = 'Data';
$content_cdr['table-time']['en-us'] = 'Time';
$content_cdr['table-time']['pt-pt'] = 'Tempo';
$content_cdr['table-minutes']['en-us'] = 'Minutes';
$content_cdr['table-minutes']['pt-pt'] = 'Minutos';
$content_cdr['table-callsminutes']['en-us'] = 'Calls Per Min';
$content_cdr['table-callsminutes']['pt-pt'] = 'Chamadas por minuto';
$content_cdr['table-missed']['en-us'] = 'Missed';
$content_cdr['table-missed']['pt-pt'] = 'Perdidas';
$content_cdr['table-days']['en-us'] = 'Days';
$content_cdr['table-days']['pt-pt'] = 'Dias';
$content_cdr['description']['en-us'] = 'Call Detail Records (CDRs) are detailed information on the calls.';
$content_cdr['description']['pt-pt'] = 'Detalhes da Gravação de Chamadas, são informações detalhadas sobre as chamadas.';
?>
$content_cdr['description2']['en-us'] = 'The information contains source, destination, duration, and other useful call details.';
$content_cdr['description2']['pt-pt'] = 'A informação contém fonte, destino, duração e outros detalhes úteis da chamada.';
$content_cdr['description3']['en-us'] = 'Use the fields to filter the information for the specific call records that are desired.';
$content_cdr['description3']['pt-pt'] = 'Utilize os campos para filtrar a informação para os registos de chamadas específicas que são desejados.';
$content_cdr['description4']['en-us'] = 'Then view the calls in the list or download them as comma seperated file by using the "csv" button.';
$content_cdr['description4']['pt-pt'] = 'Então pode ver as chamadas na lista ou descarrega-las como arquivo separadas por vírgulas usando o botão "csv".';
$content_cdr['label-description']['en-us'] = 'Description';
$content_cdr['label-description']['pt-pt'] = 'Descrição';
$content_cdr['label-cid-name']['en-us'] = 'CID Name';
$content_cdr['label-cid-name']['pt-pt'] = 'Nome CID';
$content_cdr['label-inbound']['en-us'] = 'inbound';
$content_cdr['label-inbound']['pt-pt'] = 'entrada';
$content_cdr['label-outbound']['en-us'] = 'outbound';
$content_cdr['label-outbound']['pt-pt'] = 'saida';
$content_cdr['label-local']['en-us'] = 'local';
$content_cdr['label-local']['pt-pt'] = 'local';
$content_cdr['label-source']['en-us'] = 'Source';
$content_cdr['label-source']['pt-pt'] = 'Origem';
$content_cdr['label-destination']['en-us'] = 'Destination';
$content_cdr['label-destination']['pt-pt'] = 'Destino';
$content_cdr['label-start']['en-us'] = 'Start';
$content_cdr['label-start']['pt-pt'] = 'Inicio';
$content_cdr['label-status']['en-us'] = 'Status';
$content_cdr['label-status']['pt-pt'] = 'Estado';
$content_cdr['label-name']['en-us'] = 'Name';
$content_cdr['label-name']['pt-pt'] = 'Nome';
$content_cdr['label-number']['en-us'] = 'Number';
$content_cdr['label-number']['pt-pt'] = 'Numero';
$content_cdr['label-length']['en-us'] = 'Length';
$content_cdr['label-length']['pt-pt'] = 'Comprimento';
$content_cdr['label-statistics']['en-us'] = 'Statistics';
$content_cdr['label-statistics']['pt-pt'] = 'Estatisticas';
//xml_cdr_details
$content_cdr['title2']['en-us'] = 'Call Details';
$content_cdr['title2']['pt-pt'] = 'Detalhes das Chamadas';
$content_cdr['button-back']['en-us'] = 'Back';
$content_cdr['button-back']['pt-pt'] = 'Voltar';
$content_cdr['description5']['en-us'] = 'A detailed view of the call and all information regarding it.';
$content_cdr['description5']['pt-pt'] = 'Uma visão detalhada da chamada e todas as informações sobre ela.';
$content_cdr['description6']['en-us'] = 'The information contains caller id name and number, channel data, ';
$content_cdr['description6']['pt-pt'] = 'A informação contém o nome e numero de origem, dados do canal, ';
$content_cdr['description7']['en-us'] = 'call variables, call flow, timing information, and other useful call details.';
$content_cdr['description7']['pt-pt'] = 'variáveis de chamada, fluxo da chamada, informações de tempo e outros detalhes úteis da chamada.';
$content_cdr['label-summary']['en-us'] = 'Summary';
$content_cdr['label-summary']['pt-pt'] = 'Sumario';
$content_cdr['table-direction']['en-us'] = 'Direction';
$content_cdr['table-direction']['pt-pt'] = 'Direcção';
$content_cdr['table-name']['en-us'] = 'Name (play)';
$content_cdr['table-name']['pt-pt'] = 'None (executar)';
$content_cdr['table-download']['en-us'] = 'Number (download)';
$content_cdr['table-download']['pt-pt'] = 'Numero (descarregar)';
$content_cdr['table-end']['en-us'] = 'End';
$content_cdr['table-end']['pt-pt'] = 'Final';
$content_cdr['label-channel']['en-us'] = 'Channel Data';
$content_cdr['label-channel']['pt-pt'] = 'Dados de Canal';
$content_cdr['label-value']['en-us'] = 'Value';
$content_cdr['label-value']['pt-pt'] = 'Valor';
$content_cdr['label-applog']['en-us'] = 'Application Log';
$content_cdr['label-applog']['pt-pt'] = 'Log de Aplicação';
$content_cdr['label-data']['en-us'] = 'Data';
$content_cdr['label-data']['pt-pt'] = 'Dados';
$content_cdr['label-callflow']['en-us'] = 'Call Flow: Attributes';
$content_cdr['label-callflow']['pt-pt'] = 'Fluxos de chamada: Atributos';
$content_cdr['label-callflow2']['en-us'] = 'Call Flow: Extension: Attributes';
$content_cdr['label-callflow2']['pt-pt'] = 'Fluxos de chamada: Extensão: Atributos';
$content_cdr['label-callflow3']['en-us'] = 'Call Flow: Extension: Application';
$content_cdr['label-callflow3']['pt-pt'] = 'Fluxos de chamada: Extensão: Aplicação';
$content_cdr['label-callflow4']['en-us'] = 'Call Flow: Caller Profile';
$content_cdr['label-callflow4']['pt-pt'] = 'Fluxos de chamada: Perfil de chamador';
$content_cdr['label-callflow5']['en-us'] = 'Call Flow: Times';
$content_cdr['label-callflow5']['pt-pt'] = 'Fluxos de chamada: Tempos';
//xml_cdr_statistics
$content_cdr['label-call-statistics']['en-us'] = 'Call Detail Record Statistics';
$content_cdr['label-call-statistics']['pt-pt'] = 'Estatisticas dos Detalhes da Gravação de Chamadas';
$content_cdr['label-call-statistics-description']['en-us'] = 'Call Detail Records Statics summarize the call information.';
$content_cdr['label-call-statistics-description']['pt-pt'] = 'As Estatisticas dos Detalhes da Gravação de Chamadas resumem as informações da chamada.';
$content_cdr['table-hours']['en-us'] = 'Hours';
$content_cdr['table-hours']['pt-pt'] = 'Horas';
$content_cdr['table-date']['en-us'] = 'Date';
$content_cdr['table-date']['pt-pt'] = 'Data';
$content_cdr['table-time']['en-us'] = 'Time';
$content_cdr['table-time']['pt-pt'] = 'Tempo';
$content_cdr['table-minutes']['en-us'] = 'Minutes';
$content_cdr['table-minutes']['pt-pt'] = 'Minutos';
$content_cdr['table-calls-per-minute']['en-us'] = 'Calls Per Min';
$content_cdr['table-calls-per-minute']['pt-pt'] = 'Chamadas por minuto';
$content_cdr['table-missed']['en-us'] = 'Missed';
$content_cdr['table-missed']['pt-pt'] = 'Perdidas';
$content_cdr['table-days']['en-us'] = 'Days';
$content_cdr['table-days']['pt-pt'] = 'Dias';
?>

View File

@ -156,7 +156,7 @@ else {
echo " </tr>\n";
echo " <tr>\n";
echo " <td align=\"left\">".$content_cdr['label-cidname'].":</td>\n";
echo " <td align=\"left\">".$content_cdr['label-cid-name'].":</td>\n";
echo " <td align=\"left\"><input type='text' class='formfld' name='caller_id_name' style='width:100%' value='$caller_id_name'></td>\n";
echo " </tr>\n";

View File

@ -48,7 +48,7 @@ else {
echo "<div align='center'>";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$content_cdr['label-callstatistics']."</b></td>\n";
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$content_cdr['label-call-statistics']."</b></td>\n";
echo " <td width='70%' align='right' valign='top'>\n";
echo " <input type='button' class='btn' value='CSV' onclick=\"document.location.href='xml_cdr_statistics_csv.php';\">\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='xml_cdr.php'\" value='".$content_cdr['button-back']."'>\n";
@ -56,7 +56,7 @@ else {
echo "</tr>\n";
echo "<tr>\n";
echo " <td align='left' colspan='2'>\n";
echo " ".$content_cdr['label-callstatisticsdescription']." \n";
echo " ".$content_cdr['label-call-statistics-description']." \n";
echo " <br />\n";
echo " <br />\n";
echo " </td>\n";
@ -159,7 +159,7 @@ else {
echo " <th nowrap='nowrap'>".$content_cdr['table-time']."</th>\n";
echo " <th>Volume</th>\n";
echo " <th>".$content_cdr['table-minutes']."</th>\n";
echo " <th>".$content_cdr['table-callsminutes']."</th>\n";
echo " <th>".$content_cdr['table-calls-per-minute']."</th>\n";
echo " <th>".$content_cdr['table-missed']."</th>\n";
echo " <th>ASR</th>\n";
echo " <th>ALOC</th>\n";
@ -185,7 +185,7 @@ else {
echo " <th nowrap='nowrap'>".$content_cdr['table-time']."</th>\n";
echo " <th>Volume</th>\n";
echo " <th>".$content_cdr['table-minutes']."</th>\n";
echo " <th nowrap='nowrap'>".$content_cdr['table-callsminutes']."</th>\n";
echo " <th nowrap='nowrap'>".$content_cdr['table-calls-per-minute']."</th>\n";
echo " <th>".$content_cdr['table-missed']."</th>\n";
echo " <th>ASR</th>\n";
echo " <th>ALOC</th>\n";