mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Move to the $text array and add dashes between words on the $text named array values.
This commit is contained in:
@@ -1,66 +1,66 @@
|
||||
<?php
|
||||
|
||||
//v_voicemail_greetings
|
||||
$content_voicemail_greetings['title']['en-us'] = 'Voicemail Greetings';
|
||||
$content_voicemail_greetings['title']['pt-pt'] = 'Saudações de correio de voz';
|
||||
//v_voicemail_greetings
|
||||
$text['title']['en-us'] = 'Voicemail Greetings';
|
||||
$text['title']['pt-pt'] = 'Saudações de correio de voz';
|
||||
|
||||
$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:';
|
||||
$text['description']['en-us'] = 'Select the active greeting message to play for extension:';
|
||||
$text['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';
|
||||
$text['label-upload']['en-us'] = 'File to Upload';
|
||||
$text['label-upload']['pt-pt'] = 'Ficheiro a Carregar';
|
||||
|
||||
$content_voicemail_greetings['table-choose']['en-us'] = 'Choose';
|
||||
$content_voicemail_greetings['table-choose']['pt-pt'] = 'Escolher';
|
||||
$text['table-choose']['en-us'] = 'Choose';
|
||||
$text['table-choose']['pt-pt'] = 'Escolher';
|
||||
|
||||
$content_voicemail_greetings['table-name']['en-us'] = 'Name';
|
||||
$content_voicemail_greetings['table-name']['pt-pt'] = 'Nome';
|
||||
$text['table-name']['en-us'] = 'Name';
|
||||
$text['table-name']['pt-pt'] = 'Nome';
|
||||
|
||||
$content_voicemail_greetings['table-download']['en-us'] = 'Download';
|
||||
$content_voicemail_greetings['table-download']['pt-pt'] = 'Descarregar';
|
||||
$text['table-download']['en-us'] = 'Download';
|
||||
$text['table-download']['pt-pt'] = 'Descarregar';
|
||||
|
||||
$content_voicemail_greetings['table-size']['en-us'] = 'Size';
|
||||
$content_voicemail_greetings['table-size']['pt-pt'] = 'Tamanho';
|
||||
$text['table-size']['en-us'] = 'Size';
|
||||
$text['table-size']['pt-pt'] = 'Tamanho';
|
||||
|
||||
$content_voicemail_greetings['table-description']['en-us'] = 'Description';
|
||||
$content_voicemail_greetings['table-description']['pt-pt'] = 'Descrição';
|
||||
$text['table-description']['en-us'] = 'Description';
|
||||
$text['table-description']['pt-pt'] = 'Descrição';
|
||||
|
||||
$content_voicemail_greetings['button-back']['en-us'] = 'Back';
|
||||
$content_voicemail_greetings['button-back']['pt-pt'] = 'Voltar';
|
||||
$text['button-back']['en-us'] = 'Back';
|
||||
$text['button-back']['pt-pt'] = 'Voltar';
|
||||
|
||||
$content_voicemail_greetings['button-save']['en-us'] = 'Save';
|
||||
$content_voicemail_greetings['button-save']['pt-pt'] = 'Guardar';
|
||||
$text['button-save']['en-us'] = 'Save';
|
||||
$text['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_delete
|
||||
$text['confirm-delete-2']['en-us'] = 'Delete Complete';
|
||||
$text['confirm-delete-2']['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)';
|
||||
//v_voicemail_greetings_edit
|
||||
$text['confirm-name']['en-us'] = 'Please provide: Greeting Name (play)';
|
||||
$text['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';
|
||||
$text['confirm-add']['en-us'] = 'Add Complete';
|
||||
$text['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';
|
||||
$text['confirm-update']['en-us'] = 'Update Complete';
|
||||
$text['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';
|
||||
$text['label-add']['en-us'] = 'Add Greeting';
|
||||
$text['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';
|
||||
$text['label-edit']['en-us'] = 'Edit Greeting';
|
||||
$text['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';
|
||||
$text['label-name']['en-us'] = 'Greeting Name';
|
||||
$text['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';
|
||||
$text['description-name']['en-us'] = 'Greeting Name. example: greeting_x';
|
||||
$text['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';
|
||||
$text['label-description']['en-us'] = 'Description';
|
||||
$text['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.';
|
||||
$text['description-info']['en-us'] = 'You may enter a description here for your reference (not parsed).';
|
||||
$text['description-info']['pt-pt'] = 'Pode inserir aqui uma descrição para referência.';
|
||||
|
||||
?>
|
||||
@@ -36,7 +36,7 @@ else {
|
||||
}
|
||||
|
||||
foreach($content_voicemail_greetings as $key => $value) {
|
||||
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
$text[$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>".$content_voicemail_greetings['title'].":</strong><br>\n";
|
||||
echo " <strong>".$text['title'].":</strong><br>\n";
|
||||
echo " </td>";
|
||||
echo " <td width='50%' align='right'>\n";
|
||||
echo " <label for=\"file\">".$content_voicemail_greetings['label-upload'].":</label>\n";
|
||||
echo " <label for=\"file\">".$text['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=\"".$content_voicemail_greetings['button-save']."\">\n";
|
||||
echo " <input name=\"submit\" type=\"submit\" class=\"btn\" id=\"upload\" value=\"".$text['button-save']."\">\n";
|
||||
echo " \n";
|
||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"javascript:history.back();\" value='".$content_voicemail_greetings['button-back']."'>\n";
|
||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"javascript:history.back();\" value='".$text['button-back']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>";
|
||||
echo " <tr>";
|
||||
echo " <td align='left' colspan='2'>\n";
|
||||
echo " ".$content_voicemail_greetings['description']." $user_id. <br />\n";
|
||||
echo " ".$text['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>".$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 "<th>".$text['table-choose']."</th>\n";
|
||||
echo th_order_by('greeting_name', $text['table-name'], $order_by, $order);
|
||||
echo "<th align='right'>".$text['table-download']."</th>\n";
|
||||
echo "<th width=\"50px\" class=\"listhdr\" nowrap=\"nowrap\">".$text['table-size']."</th>\n";
|
||||
echo th_order_by('greeting_description', $text['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";
|
||||
|
||||
@@ -36,7 +36,7 @@ else {
|
||||
}
|
||||
|
||||
foreach($content_voicemail_greetings as $key => $value) {
|
||||
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
$text[$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 "".$content_voicemail_greetings['confirm-delete2']."\n";
|
||||
echo "".$text['confirm-delete-2']."\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
|
||||
@@ -36,7 +36,7 @@ else {
|
||||
}
|
||||
|
||||
foreach($content_voicemail_greetings as $key => $value) {
|
||||
$content_voicemail_greetings[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
$text[$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 .= "".$content_voicemail_greetings['confirm-name']."<br>\n"; }
|
||||
if (strlen($greeting_name) == 0) { $msg .= "".$text['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 "".$content_voicemail_greetings['confirm-add']."\n";
|
||||
echo "".$text['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 "".$content_voicemail_greetings['confirm-update']."\n";
|
||||
echo "".$text['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>".$content_voicemail_greetings['label-add']."</b></td>\n";
|
||||
echo "<td align='left' width='30%' nowrap><b>".$text['label-add']."</b></td>\n";
|
||||
}
|
||||
if ($action == "update") {
|
||||
echo "<td align='left' width='30%' nowrap><b>".$content_voicemail_greetings['label-edit']['en-us']."</b></td>\n";
|
||||
echo "<td align='left' width='30%' nowrap><b>".$text['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='".$content_voicemail_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='".$text['button-back']."'></td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_greetings['label-name'].":\n";
|
||||
echo " ".$text['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 "".$content_voicemail_greetings['description-name']."\n";
|
||||
echo "".$text['description-name']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_greetings['label-description'].":\n";
|
||||
echo " ".$text['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 "".$content_voicemail_greetings['description-info']."\n";
|
||||
echo "".$text['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='".$content_voicemail_greetings['button-save']."'>\n";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
|
||||
@@ -1,111 +1,111 @@
|
||||
<?php
|
||||
|
||||
$content_voicemail_msgs['title']['en-us'] = 'Voicemail Messages';
|
||||
$content_voicemail_msgs['title']['pt-pt'] = 'Mensagens de correio de voz';
|
||||
$text['title']['en-us'] = 'Voicemail Messages';
|
||||
$text['title']['pt-pt'] = 'Mensagens de correio de voz';
|
||||
|
||||
$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.';
|
||||
$text['description']['en-us'] = 'Voicemails are listed, played, downloaded and deleted from this page.';
|
||||
$text['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';
|
||||
$text['button-greetings']['en-us'] = 'Greetings';
|
||||
$text['button-greetings']['pt-pt'] = 'Saudações';
|
||||
|
||||
$content_voicemail_msgs['button-settings']['en-us'] = 'Settings';
|
||||
$content_voicemail_msgs['button-settings']['pt-pt'] = 'Definições';
|
||||
$text['button-settings']['en-us'] = 'Settings';
|
||||
$text['button-settings']['pt-pt'] = 'Definições';
|
||||
|
||||
$content_voicemail_msgs['table-mailbox']['en-us'] = 'Mailbox';
|
||||
$content_voicemail_msgs['table-mailbox']['pt-pt'] = 'Caixa de Correio';
|
||||
$text['table-mailbox']['en-us'] = 'Mailbox';
|
||||
$text['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.';
|
||||
$text['description-2']['en-us'] = 'Voicemails for an extension are shown to the user(s) that have been assigned to an extension.';
|
||||
$text['description-2']['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".';
|
||||
$text['description-3']['en-us'] = 'User accounts are created in the "User Manager" and then are assigned on the "Extensions" page.';
|
||||
$text['description-3']['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';
|
||||
$text['label-created']['en-us'] = 'Created';
|
||||
$text['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';
|
||||
$text['label-caller-id-name']['en-us'] = 'Caller ID Name';
|
||||
$text['label-caller-id-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';
|
||||
$text['label-caller-id-number']['en-us'] = 'Caller ID Number';
|
||||
$text['label-caller-id-number']['pt-pt'] = 'Número de Origem';
|
||||
|
||||
$content_voicemail_msgs['label-folder']['en-us'] = 'Folder';
|
||||
$content_voicemail_msgs['label-folder']['pt-pt'] = 'Pasta';
|
||||
$text['label-folder']['en-us'] = 'Folder';
|
||||
$text['label-folder']['pt-pt'] = 'Pasta';
|
||||
|
||||
$content_voicemail_msgs['label-length']['en-us'] = 'Length (play)';
|
||||
$content_voicemail_msgs['label-length']['pt-pt'] = 'Comprimento (Reprodução)';
|
||||
$text['label-length']['en-us'] = 'Length (play)';
|
||||
$text['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)';
|
||||
$text['label-size']['en-us'] = 'Size (download)';
|
||||
$text['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?';
|
||||
$text['confirm-delete']['en-us'] = 'Are you sure you want to delete this?';
|
||||
$text['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';
|
||||
$text['confirm-password']['en-us'] = 'Please provide: Voicemail Password';
|
||||
$text['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';
|
||||
$text['confirm-update']['en-us'] = 'Update Complete';
|
||||
$text['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:';
|
||||
$text['label-voicemail']['en-us'] = 'Voicemail Settings for:';
|
||||
$text['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';
|
||||
$text['button-back']['en-us'] = 'Back';
|
||||
$text['button-back']['pt-pt'] = 'Voltar';
|
||||
|
||||
$content_voicemail_msgs['button-save']['en-us'] = 'Save';
|
||||
$content_voicemail_msgs['button-save']['pt-pt'] = 'Guardar';
|
||||
$text['button-save']['en-us'] = 'Save';
|
||||
$text['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';
|
||||
$text['label-password']['en-us'] = 'Voicemail Password';
|
||||
$text['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.';
|
||||
$text['description-password']['en-us'] = 'Enter the password here.';
|
||||
$text['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';
|
||||
$text['label-enabled']['en-us'] = 'Voicemail Enabled';
|
||||
$text['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.';
|
||||
$text['description-voicemail-enable']['en-us'] = 'Enable/disable voicemail for this extension.';
|
||||
$text['description-voicemail-enable']['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';
|
||||
$text['check-true']['en-us'] = 'true';
|
||||
$text['ckeck-true']['pt-pt'] = 'verdade';
|
||||
|
||||
$content_voicemail_msgs['check-false']['en-us'] = 'false';
|
||||
$content_voicemail_msgs['ckeck-false']['pt-pt'] = 'falso';
|
||||
$text['check-false']['en-us'] = 'false';
|
||||
$text['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';
|
||||
$text['label-mail']['en-us'] = 'Voicemail Mail To';
|
||||
$text['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á.';
|
||||
$text['description-email']['en-us'] = 'Optional: Enter the email address to send voicemail to.';
|
||||
$text['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';
|
||||
$text['label-attach']['en-us'] = 'Voicemail Attach File';
|
||||
$text['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.';
|
||||
$text['description-email-attachment']['en-us'] = 'Choose whether to attach the file to the email.';
|
||||
$text['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';
|
||||
$text['label-vm']['en-us'] = 'VM Keep Local After Email';
|
||||
$text['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.';
|
||||
$text['description-keep-local']['en-us'] = 'Keep local file after sending the email.';
|
||||
$text['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';
|
||||
$text['confirm-delete-2']['en-us'] = 'Delete';
|
||||
$text['confirm-delete-2']['pt-pt'] = 'Eliminação';
|
||||
|
||||
$content_voicemail_msgs['confirm-complete']['en-us'] = 'Complete';
|
||||
$content_voicemail_msgs['confirm-complete']['pt-pt'] = 'Completa';
|
||||
$text['confirm-complete']['en-us'] = 'Complete';
|
||||
$text['confirm-complete']['pt-pt'] = 'Completa';
|
||||
|
||||
$content_voicemail_msgs['confirm-failed']['en-us'] = 'Failed';
|
||||
$content_voicemail_msgs['confirm-failed']['pt-pt'] = 'Falhada';
|
||||
$text['confirm-failed']['en-us'] = 'Failed';
|
||||
$text['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.';
|
||||
$text['confirm-socket']['en-us'] = 'Connection to Event Socket failed.';
|
||||
$text['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';
|
||||
$text['label-message']['en-us'] = 'Message';
|
||||
$text['label-message']['pt-pt'] = 'Mensagem';
|
||||
|
||||
?>
|
||||
@@ -26,7 +26,6 @@
|
||||
include "root.php";
|
||||
require "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
require_once "app_languages.php";
|
||||
if (permission_exists('voicemail_view')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -35,9 +34,12 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_voicemail_msgs as $key => $value) {
|
||||
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//download the voicemail
|
||||
if ($_GET['a'] == "download") {
|
||||
|
||||
@@ -130,15 +132,15 @@ else {
|
||||
|
||||
echo "<table width='100%' border='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' width='50%' nowrap><b>".$content_voicemail_msgs['title']."</b></td>\n";
|
||||
echo "<td align='left' width='50%' nowrap><b>".$text['title']."</b></td>\n";
|
||||
echo "<td align='left' width='50%' align='right'> </td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td colspan='2' align='left'>\n";
|
||||
echo "".$content_voicemail_msgs['description']." \n";
|
||||
echo "".$text['description']." \n";
|
||||
if (if_group("admin") || if_group("superadmin")) {
|
||||
echo "".$content_voicemail_msgs['description2']." \n";
|
||||
echo "".$content_voicemail_msgs['description3']." \n";
|
||||
echo "".$text['description-2']." \n";
|
||||
echo "".$text['description-3']." \n";
|
||||
echo " <br />\n";
|
||||
echo " <br />\n";
|
||||
}
|
||||
@@ -148,18 +150,18 @@ else {
|
||||
|
||||
$tmp_msg_header = '';
|
||||
$tmp_msg_header .= "<tr>\n";
|
||||
$tmp_msg_header .= th_order_by('created_epoch', $content_voicemail_msgs['label-created'], $order_by, $order);
|
||||
$tmp_msg_header .= th_order_by('created_epoch', $text['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', $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_order_by('cid_name', $text['label-caller-id-name'], $order_by, $order);
|
||||
$tmp_msg_header .= th_order_by('cid_number', $text['label-caller-id-number'], $order_by, $order);
|
||||
$tmp_msg_header .= th_order_by('in_folder', $text['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', $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('message_len', $text['label-length'], $order_by, $order);
|
||||
$tmp_msg_header .= "<th nowrap>".$text['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 +179,12 @@ else {
|
||||
if (strlen($value['user']) > 0) {
|
||||
echo "<tr><td colspan='5' align='left'>\n";
|
||||
echo " <br />\n";
|
||||
echo " <b>".$content_voicemail_msgs['table-mailbox'].": ".$value['user']."</b> \n";
|
||||
echo " <b>".$text['table-mailbox'].": ".$value['user']."</b> \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='".$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 " <input type='button' class='btn' name='' alt='greetings' onclick=\"window.location='".PROJECT_PATH."/app/voicemail_greetings/v_voicemail_greetings.php?id=".$value['user']."'\" value='".$text['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='".$text['button-settings']."'>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -267,7 +269,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 " <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 " <a href='v_voicemail_msgs_delete.php?uuid=".$row['uuid']."&id=".$row['username']."' alt='delete message' title='delete message' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
|
||||
@@ -35,12 +35,14 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_voicemail_msgs as $key => $value) {
|
||||
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//get the http get values
|
||||
if (count($_GET)>0) {
|
||||
if (count($_GET) > 0) {
|
||||
$uuid = $_GET["uuid"];
|
||||
$id = $_GET["id"];
|
||||
}
|
||||
@@ -51,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'>".$content_voicemail_msgs['confirm-socket']."<br /></div>";
|
||||
$msg = "<div align='center'>".$text['confirm-socket']."<br /></div>";
|
||||
}
|
||||
|
||||
//show the error message or show the content
|
||||
@@ -60,7 +62,7 @@ else {
|
||||
echo "<div align='center'>\n";
|
||||
echo " <table width='40%'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th align='left'>".$content_voicemail_msgs['label-message']."</th>\n";
|
||||
echo " <th align='left'>".$text['label-message']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td class='row_style1'><strong>$msg</strong></td>\n";
|
||||
@@ -76,17 +78,17 @@ else {
|
||||
$response = trim(event_socket_request($fp, $cmd));
|
||||
echo $xml_response;
|
||||
if (strcmp($response,"+OK")==0) {
|
||||
$msg = "".$content_voicemail_msgs['confirm-complete']."";
|
||||
$msg = "".$text['confirm-complete']."";
|
||||
}
|
||||
else {
|
||||
$msg = "".$content_voicemail_msgs['confirm-failed']."";
|
||||
$msg = "".$text['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 "".$content_voicemail_msgs['confirm-delete2']." $msg\n";
|
||||
echo "".$text['confirm-delete-2']." $msg\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
require_once "app_languages.php";
|
||||
if (permission_exists('voicemail_edit')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -35,8 +34,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_voicemail_msgs as $key => $value) {
|
||||
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//set the action as an add or update
|
||||
@@ -119,7 +120,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 .= "".$content_voicemail_msgs['confirm-password']."<br>\n"; }
|
||||
if (strlen($vm_password) == 0) { $msg .= "".$text['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 +190,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 "".$content_voicemail_msgs['confirm-update']."\n";
|
||||
echo "".$text['confirm-update']."\n";
|
||||
echo "</div>\n";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
@@ -271,18 +272,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>".$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 " <td width='30%' nowrap valign='top' align='left'><b>".$text['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='".$text['button-back']."'><br /><br /></td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_msgs['label-password'].":\n";
|
||||
echo " ".$text['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 = ''\">".$content_voicemail_msgs['description-password']." </span><span id='show_password'></span>\n";
|
||||
echo "<span onclick=\"document.getElementById('show_password').innerHTML = ''\">".$text['description-password']." </span><span id='show_password'></span>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -310,7 +311,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_msgs['label-enabled'].":\n";
|
||||
echo " ".$text['label-enabled'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='vm_enabled'>\n";
|
||||
@@ -329,24 +330,24 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo " ".$content_voicemail_msgs['description-confenable']."\n";
|
||||
echo " ".$text['description-voicemail-enable']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_msgs['label-mail'].":\n";
|
||||
echo " ".$text['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 "".$content_voicemail_msgs['description-email']."\n";
|
||||
echo "".$text['description-email']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_msgs['label-attach'].":\n";
|
||||
echo " ".$text['label-attach'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='vm_attach_file'>\n";
|
||||
@@ -365,13 +366,13 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo "".$content_voicemail_msgs['description-email-attachment']."\n";
|
||||
echo "".$text['description-email-attachment']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$content_voicemail_msgs['label-vm'].":\n";
|
||||
echo " ".$text['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 +391,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo "".$content_voicemail_msgs['description-keep-local']." \n";
|
||||
echo "".$text['description-keep-local']." \n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
@@ -410,7 +411,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='".$content_voicemail_msgs['button-save']."'>\n";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-save']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
require_once "app_languages.php";
|
||||
if (permission_exists('voicemail_view')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -36,8 +35,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
foreach($content_voicemail_msgs as $key => $value) {
|
||||
$content_voicemail_msgs[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//get the http get values
|
||||
@@ -53,7 +54,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'>".$content_voicemail_msgs['confirm-socket']."<br /></div>";
|
||||
$msg = "<div align='center'>".$text['confirm-socket']."<br /></div>";
|
||||
}
|
||||
|
||||
//show the error message or show the content
|
||||
@@ -62,7 +63,7 @@ else {
|
||||
echo "<div align='center'>\n";
|
||||
echo " <table width='40%'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th align='left'>".$content_voicemail_msgs['label-message']."</th>\n";
|
||||
echo " <th align='left'>".$text['label-message']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td class='row_style1'><strong>$msg</strong></td>\n";
|
||||
|
||||
@@ -1,153 +1,153 @@
|
||||
<?php
|
||||
|
||||
//xml_cdr
|
||||
$content_cdr['title']['en-us'] = 'Call Detail Records';
|
||||
$content_cdr['title']['pt-pt'] = 'Detalhes da Gravação de Chamadas';
|
||||
$text['title']['en-us'] = 'Call Detail Records';
|
||||
$text['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.';
|
||||
$text['description']['en-us'] = 'Call Detail Records (CDRs) are detailed information on the calls.';
|
||||
$text['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.';
|
||||
$text['description-2']['en-us'] = 'The information contains source, destination, duration, and other useful call details.';
|
||||
$text['description-2']['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.';
|
||||
$text['description-3']['en-us'] = 'Use the fields to filter the information for the specific call records that are desired.';
|
||||
$text['description-3']['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".';
|
||||
$text['description-4']['en-us'] = 'Then view the calls in the list or download them as comma seperated file by using the "csv" button.';
|
||||
$text['description-4']['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';
|
||||
$text['label-description']['en-us'] = 'Description';
|
||||
$text['label-description']['pt-pt'] = 'Descrição';
|
||||
|
||||
$content_cdr['label-cid-name']['en-us'] = 'CID Name';
|
||||
$content_cdr['label-cid-name']['pt-pt'] = 'Nome CID';
|
||||
$text['label-cid-name']['en-us'] = 'CID Name';
|
||||
$text['label-cid-name']['pt-pt'] = 'Nome CID';
|
||||
|
||||
$content_cdr['label-inbound']['en-us'] = 'inbound';
|
||||
$content_cdr['label-inbound']['pt-pt'] = 'entrada';
|
||||
$text['label-inbound']['en-us'] = 'inbound';
|
||||
$text['label-inbound']['pt-pt'] = 'entrada';
|
||||
|
||||
$content_cdr['label-outbound']['en-us'] = 'outbound';
|
||||
$content_cdr['label-outbound']['pt-pt'] = 'saida';
|
||||
$text['label-outbound']['en-us'] = 'outbound';
|
||||
$text['label-outbound']['pt-pt'] = 'saida';
|
||||
|
||||
$content_cdr['label-local']['en-us'] = 'local';
|
||||
$content_cdr['label-local']['pt-pt'] = 'local';
|
||||
$text['label-local']['en-us'] = 'local';
|
||||
$text['label-local']['pt-pt'] = 'local';
|
||||
|
||||
$content_cdr['label-source']['en-us'] = 'Source';
|
||||
$content_cdr['label-source']['pt-pt'] = 'Origem';
|
||||
$text['label-source']['en-us'] = 'Source';
|
||||
$text['label-source']['pt-pt'] = 'Origem';
|
||||
|
||||
$content_cdr['label-destination']['en-us'] = 'Destination';
|
||||
$content_cdr['label-destination']['pt-pt'] = 'Destino';
|
||||
$text['label-destination']['en-us'] = 'Destination';
|
||||
$text['label-destination']['pt-pt'] = 'Destino';
|
||||
|
||||
$content_cdr['label-start']['en-us'] = 'Start';
|
||||
$content_cdr['label-start']['pt-pt'] = 'Inicio';
|
||||
$text['label-start']['en-us'] = 'Start';
|
||||
$text['label-start']['pt-pt'] = 'Inicio';
|
||||
|
||||
$content_cdr['label-status']['en-us'] = 'Status';
|
||||
$content_cdr['label-status']['pt-pt'] = 'Estado';
|
||||
$text['label-status']['en-us'] = 'Status';
|
||||
$text['label-status']['pt-pt'] = 'Estado';
|
||||
|
||||
$content_cdr['label-name']['en-us'] = 'Name';
|
||||
$content_cdr['label-name']['pt-pt'] = 'Nome';
|
||||
$text['label-name']['en-us'] = 'Name';
|
||||
$text['label-name']['pt-pt'] = 'Nome';
|
||||
|
||||
$content_cdr['label-number']['en-us'] = 'Number';
|
||||
$content_cdr['label-number']['pt-pt'] = 'Numero';
|
||||
$text['label-number']['en-us'] = 'Number';
|
||||
$text['label-number']['pt-pt'] = 'Numero';
|
||||
|
||||
$content_cdr['label-length']['en-us'] = 'Length';
|
||||
$content_cdr['label-length']['pt-pt'] = 'Comprimento';
|
||||
$text['label-length']['en-us'] = 'Length';
|
||||
$text['label-length']['pt-pt'] = 'Comprimento';
|
||||
|
||||
$content_cdr['label-tools']['en-us'] = 'Tools';
|
||||
$content_cdr['label-tools']['pt-pt'] = '';
|
||||
$text['label-tools']['en-us'] = 'Tools';
|
||||
$text['label-tools']['pt-pt'] = '';
|
||||
|
||||
$content_cdr['label-play']['en-us'] = 'Play';
|
||||
$content_cdr['label-play']['pt-pt'] = '';
|
||||
$text['label-play']['en-us'] = 'Play';
|
||||
$text['label-play']['pt-pt'] = '';
|
||||
|
||||
$content_cdr['label-download']['en-us'] = 'Download';
|
||||
$content_cdr['label-download']['pt-pt'] = '';
|
||||
$text['label-download']['en-us'] = 'Download';
|
||||
$text['label-download']['pt-pt'] = '';
|
||||
|
||||
$content_cdr['label-statistics']['en-us'] = 'Statistics';
|
||||
$content_cdr['label-statistics']['pt-pt'] = 'Estatisticas';
|
||||
$text['label-statistics']['en-us'] = 'Statistics';
|
||||
$text['label-statistics']['pt-pt'] = 'Estatisticas';
|
||||
|
||||
//xml_cdr_details
|
||||
$content_cdr['title2']['en-us'] = 'Call Details';
|
||||
$content_cdr['title2']['pt-pt'] = 'Detalhes das Chamadas';
|
||||
$text['title2']['en-us'] = 'Call Details';
|
||||
$text['title2']['pt-pt'] = 'Detalhes das Chamadas';
|
||||
|
||||
$content_cdr['button-back']['en-us'] = 'Back';
|
||||
$content_cdr['button-back']['pt-pt'] = 'Voltar';
|
||||
$text['button-back']['en-us'] = 'Back';
|
||||
$text['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.';
|
||||
$text['description-5']['en-us'] = 'A detailed view of the call and all information regarding it.';
|
||||
$text['description-5']['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, ';
|
||||
$text['description-6']['en-us'] = 'The information contains caller id name and number, channel data, ';
|
||||
$text['description-6']['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.';
|
||||
$text['description-7']['en-us'] = 'call variables, call flow, timing information, and other useful call details.';
|
||||
$text['description-7']['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';
|
||||
$text['label-summary']['en-us'] = 'Summary';
|
||||
$text['label-summary']['pt-pt'] = 'Sumario';
|
||||
|
||||
$content_cdr['table-direction']['en-us'] = 'Direction';
|
||||
$content_cdr['table-direction']['pt-pt'] = 'Direcção';
|
||||
$text['table-direction']['en-us'] = 'Direction';
|
||||
$text['table-direction']['pt-pt'] = 'Direcção';
|
||||
|
||||
$content_cdr['table-name']['en-us'] = 'Name (play)';
|
||||
$content_cdr['table-name']['pt-pt'] = 'None (executar)';
|
||||
$text['table-name']['en-us'] = 'Name (play)';
|
||||
$text['table-name']['pt-pt'] = 'None (executar)';
|
||||
|
||||
$content_cdr['table-download']['en-us'] = 'Number (download)';
|
||||
$content_cdr['table-download']['pt-pt'] = 'Numero (descarregar)';
|
||||
$text['table-download']['en-us'] = 'Number (download)';
|
||||
$text['table-download']['pt-pt'] = 'Numero (descarregar)';
|
||||
|
||||
$content_cdr['table-end']['en-us'] = 'End';
|
||||
$content_cdr['table-end']['pt-pt'] = 'Final';
|
||||
$text['table-end']['en-us'] = 'End';
|
||||
$text['table-end']['pt-pt'] = 'Final';
|
||||
|
||||
$content_cdr['label-channel']['en-us'] = 'Channel Data';
|
||||
$content_cdr['label-channel']['pt-pt'] = 'Dados de Canal';
|
||||
$text['label-channel']['en-us'] = 'Channel Data';
|
||||
$text['label-channel']['pt-pt'] = 'Dados de Canal';
|
||||
|
||||
$content_cdr['label-value']['en-us'] = 'Value';
|
||||
$content_cdr['label-value']['pt-pt'] = 'Valor';
|
||||
$text['label-value']['en-us'] = 'Value';
|
||||
$text['label-value']['pt-pt'] = 'Valor';
|
||||
|
||||
$content_cdr['label-applog']['en-us'] = 'Application Log';
|
||||
$content_cdr['label-applog']['pt-pt'] = 'Log de Aplicação';
|
||||
$text['label-application-log']['en-us'] = 'Application Log';
|
||||
$text['label-application-log']['pt-pt'] = 'Log de Aplicação';
|
||||
|
||||
$content_cdr['label-data']['en-us'] = 'Data';
|
||||
$content_cdr['label-data']['pt-pt'] = 'Dados';
|
||||
$text['label-data']['en-us'] = 'Data';
|
||||
$text['label-data']['pt-pt'] = 'Dados';
|
||||
|
||||
$content_cdr['label-callflow']['en-us'] = 'Call Flow: Attributes';
|
||||
$content_cdr['label-callflow']['pt-pt'] = 'Fluxos de chamada: Atributos';
|
||||
$text['label-call-flow']['en-us'] = 'Call Flow: Attributes';
|
||||
$text['label-call-flow']['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';
|
||||
$text['label-call-flow-2']['en-us'] = 'Call Flow: Extension: Attributes';
|
||||
$text['label-call-flow-2']['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';
|
||||
$text['label-call-flow-3']['en-us'] = 'Call Flow: Extension: Application';
|
||||
$text['label-call-flow-3']['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';
|
||||
$text['label-call-flow-4']['en-us'] = 'Call Flow: Caller Profile';
|
||||
$text['label-call-flow-4']['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';
|
||||
$text['label-call-flow-5']['en-us'] = 'Call Flow: Times';
|
||||
$text['label-call-flow-5']['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';
|
||||
$text['label-call-statistics']['en-us'] = 'Call Detail Record Statistics';
|
||||
$text['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.';
|
||||
$text['label-call-statistics-description']['en-us'] = 'Call Detail Records Statics summarize the call information.';
|
||||
$text['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';
|
||||
$text['table-hours']['en-us'] = 'Hours';
|
||||
$text['table-hours']['pt-pt'] = 'Horas';
|
||||
|
||||
$content_cdr['table-date']['en-us'] = 'Date';
|
||||
$content_cdr['table-date']['pt-pt'] = 'Data';
|
||||
$text['table-date']['en-us'] = 'Date';
|
||||
$text['table-date']['pt-pt'] = 'Data';
|
||||
|
||||
$content_cdr['table-time']['en-us'] = 'Time';
|
||||
$content_cdr['table-time']['pt-pt'] = 'Tempo';
|
||||
$text['table-time']['en-us'] = 'Time';
|
||||
$text['table-time']['pt-pt'] = 'Tempo';
|
||||
|
||||
$content_cdr['table-minutes']['en-us'] = 'Minutes';
|
||||
$content_cdr['table-minutes']['pt-pt'] = 'Minutos';
|
||||
$text['table-minutes']['en-us'] = 'Minutes';
|
||||
$text['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';
|
||||
$text['table-calls-per-minute']['en-us'] = 'Calls Per Min';
|
||||
$text['table-calls-per-minute']['pt-pt'] = 'Chamadas por minuto';
|
||||
|
||||
$content_cdr['table-missed']['en-us'] = 'Missed';
|
||||
$content_cdr['table-missed']['pt-pt'] = 'Perdidas';
|
||||
$text['table-missed']['en-us'] = 'Missed';
|
||||
$text['table-missed']['pt-pt'] = 'Perdidas';
|
||||
|
||||
$content_cdr['table-days']['en-us'] = 'Days';
|
||||
$content_cdr['table-days']['pt-pt'] = 'Dias';
|
||||
$text['table-days']['en-us'] = 'Days';
|
||||
$text['table-days']['pt-pt'] = 'Dias';
|
||||
|
||||
?>
|
||||
@@ -35,9 +35,9 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
//prepare the languages
|
||||
foreach($content_cdr as $key => $value) {
|
||||
$content_cdr[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//import xml_cdr files
|
||||
@@ -71,12 +71,12 @@ else {
|
||||
echo "<div align='center'>";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' width='50%' nowrap='nowrap'><b>".$content_cdr['title']."</b></td>\n";
|
||||
echo "<td align='left' width='50%' nowrap='nowrap'><b>".$text['title']."</b></td>\n";
|
||||
echo "<td align='right' width='100%'>\n";
|
||||
echo "<table>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td>\n";
|
||||
echo " <input type='button' class='btn' value='".$content_cdr['label-statistics']."' onclick=\"document.location.href='xml_cdr_statistics.php';\">\n";
|
||||
echo " <input type='button' class='btn' value='".$text['label-statistics']."' onclick=\"document.location.href='xml_cdr_statistics.php';\">\n";
|
||||
echo "</td>\n";
|
||||
echo "<form method='post' action='xml_cdr_csv.php'>";
|
||||
echo "<td>\n";
|
||||
@@ -108,10 +108,10 @@ else {
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' colspan='2'>\n";
|
||||
|
||||
echo "".$content_cdr['description']." \n";
|
||||
echo "".$content_cdr['description2']." \n";
|
||||
echo "".$content_cdr['description3']." \n";
|
||||
echo "".$content_cdr['description4']." \n";
|
||||
echo "".$text['description']." \n";
|
||||
echo "".$text['description2']." \n";
|
||||
echo "".$text['description-3']." \n";
|
||||
echo "".$text['description-4']." \n";
|
||||
//To do an advanced search of the call detail records click on the following advanced button.
|
||||
|
||||
echo "<br />\n";
|
||||
@@ -129,34 +129,34 @@ else {
|
||||
echo "<td width='33.3%'>\n";
|
||||
echo "<table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' width='25%'>".$content_cdr['label-description'].":</td>\n";
|
||||
echo " <td align='left' width='25%'>".$text['label-description'].":</td>\n";
|
||||
echo " <td align='left' width='75%'>\n";
|
||||
echo " <select name='direction' style='width:100%' class='formfld'>\n";
|
||||
echo " <option value=''> </option>\n";
|
||||
if ($direction == "inbound") {
|
||||
echo " <option value='inbound' selected='selected'>".$content_cdr['label-inbound']."</option>\n";
|
||||
echo " <option value='inbound' selected='selected'>".$text['label-inbound']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='inbound'>".$content_cdr['label-inbound']."</option>\n";
|
||||
echo " <option value='inbound'>".$text['label-inbound']."</option>\n";
|
||||
}
|
||||
if ($direction == "outbound") {
|
||||
echo " <option value='outbound' selected='selected'>".$content_cdr['label-outbound']."</option>\n";
|
||||
echo " <option value='outbound' selected='selected'>".$text['label-outbound']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='outbound'>".$content_cdr['label-outbound']."</option>\n";
|
||||
echo " <option value='outbound'>".$text['label-outbound']."</option>\n";
|
||||
}
|
||||
if ($direction == "local") {
|
||||
echo " <option value='local' selected='selected'>".$content_cdr['label-local']."</option>\n";
|
||||
echo " <option value='local' selected='selected'>".$text['label-local']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='local'>".$content_cdr['label-local']."</option>\n";
|
||||
echo " <option value='local'>".$text['label-local']."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td align=\"left\">".$content_cdr['label-cid-name'].":</td>\n";
|
||||
echo " <td align=\"left\">".$text['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";
|
||||
|
||||
@@ -167,11 +167,11 @@ else {
|
||||
|
||||
echo "<table width='100%'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' width='25%'>".$content_cdr['label-source'].":</td>\n";
|
||||
echo " <td align='left' width='25%'>".$text['label-source'].":</td>\n";
|
||||
echo " <td align='left' width='75%'><input type='text' class='formfld' name='caller_id_number' style='width:100%' value='$caller_id_number'></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' width='25%'>".$content_cdr['label-destination'].":</td>\n";
|
||||
echo " <td align='left' width='25%'>".$text['label-destination'].":</td>\n";
|
||||
echo " <td align='left' width='75%'><input type='text' class='formfld' name='destination_number' style='width:100%' value='$destination_number'></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
@@ -194,12 +194,12 @@ else {
|
||||
//echo " </tr>";
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' width='25%'>".$content_cdr['label-start'].":</td>\n";
|
||||
echo " <td align='left' width='25%'>".$text['label-start'].":</td>\n";
|
||||
echo " <td align='left' width='75%'><input type='text' class='formfld' name='start_stamp' style='width:100%' value='$start_stamp'></td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td align='left' width='25%'>".$content_cdr['label-status'].":</td>\n";
|
||||
echo " <td align='left' width='25%'>".$text['label-status'].":</td>\n";
|
||||
echo " <td align='left' width='75%'>\n";
|
||||
echo " <select name=\"hangup_cause\" style='width:100%' class='formfld'>\n";
|
||||
echo " <option value='".$hangup_cause."' selected='selected'>".$hangup_cause."</option>\n";
|
||||
@@ -319,17 +319,17 @@ else {
|
||||
//echo th_order_by('default_language', 'Language', $order_by, $order);
|
||||
//echo th_order_by('context', 'Context', $order_by, $order);
|
||||
//echo th_order_by('leg', 'Leg', $order_by, $order);
|
||||
echo th_order_by('caller_id_name', $content_cdr['label-name'], $order_by, $order);
|
||||
echo th_order_by('caller_id_number', $content_cdr['label-number'], $order_by, $order);
|
||||
echo th_order_by('destination_number', $content_cdr['label-destination'], $order_by, $order);
|
||||
echo "<th>".$content_cdr['label-tools']."</th>\n";
|
||||
echo th_order_by('start_stamp', $content_cdr['label-start'], $order_by, $order);
|
||||
echo th_order_by('caller_id_name', $text['label-name'], $order_by, $order);
|
||||
echo th_order_by('caller_id_number', $text['label-number'], $order_by, $order);
|
||||
echo th_order_by('destination_number', $text['label-destination'], $order_by, $order);
|
||||
echo "<th>".$text['label-tools']."</th>\n";
|
||||
echo th_order_by('start_stamp', $text['label-start'], $order_by, $order);
|
||||
//echo th_order_by('end_stamp', 'End', $order_by, $order);
|
||||
echo th_order_by('duration', $content_cdr['label-length'], $order_by, $order);
|
||||
echo th_order_by('duration', $text['label-length'], $order_by, $order);
|
||||
if (if_group("admin") || if_group("superadmin")) {
|
||||
echo th_order_by('pdd_ms', 'PDD', $order_by, $order);
|
||||
}
|
||||
echo th_order_by('hangup_cause', $content_cdr['label-status'], $order_by, $order);
|
||||
echo th_order_by('hangup_cause', $text['label-status'], $order_by, $order);
|
||||
echo "</tr>\n";
|
||||
|
||||
if ($result_count > 0) {
|
||||
@@ -402,11 +402,11 @@ else {
|
||||
echo " <td valign='top' class='".$row_style[$c]."' nowrap=\"nowrap\">";
|
||||
if (strlen($tmp_name) > 0 && file_exists($_SESSION['switch']['recordings']['dir'].'/archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$tmp_name)) {
|
||||
echo " <a href=\"javascript:void(0);\" onclick=\"window.open('".PROJECT_PATH."/app/recordings/v_recordings_play.php?a=download&type=moh&filename=".base64_encode('archive/'.$tmp_year.'/'.$tmp_month.'/'.$tmp_day.'/'.$tmp_name)."', 'play',' width=420,height=150,menubar=no,status=no,toolbar=no')\">\n";
|
||||
echo " ".$content_cdr['label-play']."\n";
|
||||
echo " ".$text['label-play']."\n";
|
||||
echo " </a>\n";
|
||||
echo " \n";
|
||||
echo " <a href=\"../recordings/v_recordings.php?a=download&type=rec&t=bin&filename=".base64_encode("archive/".$tmp_year."/".$tmp_month."/".$tmp_day."/".$tmp_name)."\">\n";
|
||||
echo " ".$content_cdr['label-download']."\n";
|
||||
echo " ".$text['label-download']."\n";
|
||||
echo " </a>\n";
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
include "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
require_once "app_languages.php";
|
||||
|
||||
if (permission_exists('xml_cdr_view')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -35,9 +35,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
//prepare the languages
|
||||
foreach($content_cdr as $key => $value) {
|
||||
$content_cdr[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//get the http values and set them to a variable
|
||||
@@ -80,16 +81,16 @@ else {
|
||||
echo "<br>";
|
||||
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['title2']."</b></td>\n";
|
||||
echo "<td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['title2']."</b></td>\n";
|
||||
echo "<td width='70%' align='right' valign='top'>\n";
|
||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='xml_cdr.php'\" value='".$content_cdr['button-back']."'>\n";
|
||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='xml_cdr.php'\" value='".$text['button-back']."'>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' colspan='2'>\n";
|
||||
echo "".$content_cdr['description5']." \n";
|
||||
echo "".$content_cdr['description6']." \n";
|
||||
echo "".$content_cdr['description7']." \n";
|
||||
echo "".$text['description-5']." \n";
|
||||
echo "".$text['description-6']." \n";
|
||||
echo "".$text['description-7']." \n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
@@ -145,23 +146,23 @@ else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left'><b>".$content_cdr['label-summary']."</b> </td>\n";
|
||||
echo "<td align='left'><b>".$text['label-summary']."</b> </td>\n";
|
||||
echo "<td></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th>".$content_cdr['table-direction']."</th>\n";
|
||||
echo "<th>".$text['table-direction']."</th>\n";
|
||||
//echo "<th>Language</th>\n";
|
||||
//echo "<th>Context</th>\n";
|
||||
echo "<th>".$content_cdr['table-name']."</th>\n";
|
||||
echo "<th>".$content_cdr['table-download']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-destination']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-start']."</th>\n";
|
||||
echo "<th>".$content_cdr['table-end']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-length']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-status']."</th>\n";
|
||||
echo "<th>".$text['table-name']."</th>\n";
|
||||
echo "<th>".$text['table-download']."</th>\n";
|
||||
echo "<th>".$text['label-destination']."</th>\n";
|
||||
echo "<th>".$text['label-start']."</th>\n";
|
||||
echo "<th>".$text['table-end']."</th>\n";
|
||||
echo "<th>".$text['label-length']."</th>\n";
|
||||
echo "<th>".$text['label-status']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr >\n";
|
||||
@@ -211,7 +212,7 @@ else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left'><b>".$content_cdr['label-channel']."</b> </td>\n";
|
||||
echo "<td align='left'><b>".$text['label-channel']."</b> </td>\n";
|
||||
echo "<td></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
@@ -250,8 +251,8 @@ else {
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th>".$content_cdr['label-name']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-value']."</th>\n";
|
||||
echo "<th>".$text['label-name']."</th>\n";
|
||||
echo "<th>".$text['label-value']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
foreach($xml->variables->children() as $child) {
|
||||
$key = $child->getName();
|
||||
@@ -306,15 +307,15 @@ else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left'><b>".$content_cdr['label-applog']."</b> </td>\n";
|
||||
echo "<td align='left'><b>".$text['label-application-log']."</b> </td>\n";
|
||||
echo "<td></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th>".$content_cdr['label-name']."</th>\n";
|
||||
echo "<th>".$content_cdr['label-data']."</th>\n";
|
||||
echo "<th>".$text['label-name']."</th>\n";
|
||||
echo "<th>".$text['label-data']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
foreach ($xml->app_log->application as $row) {
|
||||
@@ -346,15 +347,15 @@ else {
|
||||
//attributes
|
||||
echo " <table width='95%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><b>".$content_cdr['label-callflow']."</b> </td>\n";
|
||||
echo " <td><b>".$text['label-call-flow']."</b> </td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th>".$content_cdr['label-name']."</th>\n";
|
||||
echo " <th>".$content_cdr['label-value']."</th>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-value']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach($row->attributes() as $key => $value) {
|
||||
echo " <tr>\n";
|
||||
@@ -371,15 +372,15 @@ else {
|
||||
//extension->attributes
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><b>".$content_cdr['label-callflow2']."</b> </td>\n";
|
||||
echo " <td><b>".$text['label-call-flow-2']."</b> </td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th>".$content_cdr['label-name']."</th>\n";
|
||||
echo " <th>".$content_cdr['label-value']."</th>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-value']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach($row->extension->attributes() as $key => $value) {
|
||||
echo " <tr >\n";
|
||||
@@ -396,15 +397,15 @@ else {
|
||||
//extension->application
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><b>".$content_cdr['label-callflow3']."</b> </td>\n";
|
||||
echo " <td><b>".$text['label-call-flow-3']."</b> </td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th>".$content_cdr['label-name']."</th>\n";
|
||||
echo " <th>".$content_cdr['label-data']."</th>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-data']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach ($row->extension->application as $tmp_row) {
|
||||
$app_name = $tmp_row->attributes()->app_name;
|
||||
@@ -423,15 +424,15 @@ else {
|
||||
//caller_profile
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><b>".$content_cdr['label-callflow4']."</b> </td>\n";
|
||||
echo " <td><b>".$text['label-call-flow-4']."</b> </td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <th>".$content_cdr['label-name']."</th>\n";
|
||||
echo " <th>".$content_cdr['label-value']."</th>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-value']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach($row->caller_profile->children() as $child) {
|
||||
$key = $child->getName();
|
||||
@@ -473,13 +474,13 @@ else {
|
||||
//times
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td><b>".$content_cdr['label-callflow5']."</b> </td>\n";
|
||||
echo " <td><b>".$text['label-call-flow-5']."</b> </td>\n";
|
||||
echo " <td></td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <th>".$content_cdr['label-name']."</th>\n";
|
||||
echo " <th>".$content_cdr['label-value']."</th>\n";
|
||||
echo " <th>".$text['label-name']."</th>\n";
|
||||
echo " <th>".$text['label-value']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach($row->times->children() as $child) {
|
||||
$key = $child->getName();
|
||||
|
||||
@@ -63,8 +63,7 @@
|
||||
//get the list of installed apps from the core and mod directories
|
||||
if ($xml_cdr_archive == "db") {
|
||||
//get the xml cdr list
|
||||
$sql = "";
|
||||
$sql .= "select xml_cdr, uuid from v_xml_cdr ";
|
||||
$sql = "select xml_cdr, uuid from v_xml_cdr ";
|
||||
$sql .= "where waitsec is null ";
|
||||
//$sql .= "limit 5000 ";
|
||||
//start the transaction
|
||||
@@ -96,8 +95,7 @@
|
||||
$waitsec = urldecode($xml->variables->waitsec);
|
||||
//update the database
|
||||
if (strlen($waitsec) > 0) {
|
||||
$sql = "";
|
||||
$sql .= "update v_xml_cdr ";
|
||||
$sql = "update v_xml_cdr ";
|
||||
$sql .= "set waitsec = '$waitsec' ";
|
||||
$sql .= "where uuid = '$uuid' ";
|
||||
echo $sql."\n";
|
||||
@@ -157,4 +155,4 @@
|
||||
//echo finished
|
||||
echo "completed\n";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
@@ -26,7 +26,6 @@
|
||||
require_once "root.php";
|
||||
require_once "includes/require.php";
|
||||
require_once "includes/checkauth.php";
|
||||
require_once "app_languages.php";
|
||||
if (permission_exists('xml_cdr_view')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -35,9 +34,10 @@ else {
|
||||
exit;
|
||||
}
|
||||
|
||||
//prepare the languages
|
||||
foreach($content_cdr as $key => $value) {
|
||||
$content_cdr[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//additional includes
|
||||
@@ -48,15 +48,15 @@ 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-call-statistics']."</b></td>\n";
|
||||
echo " <td width='30%' align='left' valign='top' nowrap='nowrap'><b>".$text['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";
|
||||
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='xml_cdr.php'\" value='".$text['button-back']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td align='left' colspan='2'>\n";
|
||||
echo " ".$content_cdr['label-call-statistics-description']." \n";
|
||||
echo " ".$text['label-call-statistics-description']." \n";
|
||||
echo " <br />\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
@@ -154,13 +154,13 @@ else {
|
||||
//show the results
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <th>".$content_cdr['table-hours']."</th>\n";
|
||||
echo " <th>".$content_cdr['table-date']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$content_cdr['table-time']."</th>\n";
|
||||
echo " <th>".$text['table-hours']."</th>\n";
|
||||
echo " <th>".$text['table-date']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$text['table-time']."</th>\n";
|
||||
echo " <th>Volume</th>\n";
|
||||
echo " <th>".$content_cdr['table-minutes']."</th>\n";
|
||||
echo " <th>".$content_cdr['table-calls-per-minute']."</th>\n";
|
||||
echo " <th>".$content_cdr['table-missed']."</th>\n";
|
||||
echo " <th>".$text['table-minutes']."</th>\n";
|
||||
echo " <th>".$text['table-calls-per-minute']."</th>\n";
|
||||
echo " <th>".$text['table-missed']."</th>\n";
|
||||
echo " <th>ASR</th>\n";
|
||||
echo " <th>ALOC</th>\n";
|
||||
echo "</tr>\n";
|
||||
@@ -180,13 +180,13 @@ else {
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <th nowrap='nowrap'>".$content_cdr['table-days']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$content_cdr['table-date']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$content_cdr['table-time']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$text['table-days']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$text['table-date']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$text['table-time']."</th>\n";
|
||||
echo " <th>Volume</th>\n";
|
||||
echo " <th>".$content_cdr['table-minutes']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$content_cdr['table-calls-per-minute']."</th>\n";
|
||||
echo " <th>".$content_cdr['table-missed']."</th>\n";
|
||||
echo " <th>".$text['table-minutes']."</th>\n";
|
||||
echo " <th nowrap='nowrap'>".$text['table-calls-per-minute']."</th>\n";
|
||||
echo " <th>".$text['table-missed']."</th>\n";
|
||||
echo " <th>ASR</th>\n";
|
||||
echo " <th>ALOC</th>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user