Voicemails: Add window titles.

This commit is contained in:
Nate
2020-01-06 12:02:38 -07:00
parent 4dfba370e1
commit 83b859fd07
3 changed files with 48 additions and 1 deletions

View File

@@ -101,6 +101,28 @@ $text['title-voicemail']['ru-ru'] = "Голосовая почта";
$text['title-voicemail']['sv-se'] = "Röstbrevlåda";
$text['title-voicemail']['uk-ua'] = "Голосова пошта";
$text['title-voicemail_import']['en-us'] = "Voicemail Import";
$text['title-voicemail_import']['ar-eg'] = "";
$text['title-voicemail_import']['de-at'] = "Importieren"; //copied from de-de
$text['title-voicemail_import']['de-ch'] = "Importieren"; //copied from de-de
$text['title-voicemail_import']['de-de'] = "Importieren";
$text['title-voicemail_import']['el-gr'] = "Εισαγωγή";
$text['title-voicemail_import']['es-cl'] = "Importar";
$text['title-voicemail_import']['es-mx'] = "Importar"; //copied from es-cl
$text['title-voicemail_import']['fr-ca'] = "Importer"; //copied from fr-fr
$text['title-voicemail_import']['fr-fr'] = "Importer";
$text['title-voicemail_import']['he-il'] = "";
$text['title-voicemail_import']['it-it'] = "";
$text['title-voicemail_import']['nl-nl'] = "";
$text['title-voicemail_import']['pl-pl'] = "Importuj";
$text['title-voicemail_import']['pt-br'] = "Importar";
$text['title-voicemail_import']['pt-pt'] = "Importat";
$text['title-voicemail_import']['ro-ro'] = "";
$text['title-voicemail_import']['ru-ru'] = "Импорт";
$text['title-voicemail_import']['sv-se'] = "Importera";
$text['title-voicemail_import']['uk-ua'] = "";
$text['title-voicemail_import']['tr-tr'] = "İçe Aktar";
$text['option-voicemail_file_listen']['en-us'] = "Listen Link (Login Required)";
$text['option-voicemail_file_listen']['ar-eg'] = "";
$text['option-voicemail_file_listen']['de-at'] = "Link zur Nachricht (Login erforderlich)"; //copied from de-de
@@ -1021,6 +1043,28 @@ $text['label-caller_id_name']['ru-ru'] = "Caller ID Имя";
$text['label-caller_id_name']['sv-se'] = "Namnpresentation";
$text['label-caller_id_name']['uk-ua'] = "Caller ID Ім’я";
$text['header-voicemail_import']['en-us'] = "Voicemail Import";
$text['header-voicemail_import']['ar-eg'] = "";
$text['header-voicemail_import']['de-at'] = "Importieren"; //copied from de-de
$text['header-voicemail_import']['de-ch'] = "Importieren"; //copied from de-de
$text['header-voicemail_import']['de-de'] = "Importieren";
$text['header-voicemail_import']['el-gr'] = "Εισαγωγή";
$text['header-voicemail_import']['es-cl'] = "Importar";
$text['header-voicemail_import']['es-mx'] = "Importar"; //copied from es-cl
$text['header-voicemail_import']['fr-ca'] = "Importer"; //copied from fr-fr
$text['header-voicemail_import']['fr-fr'] = "Importer";
$text['header-voicemail_import']['he-il'] = "";
$text['header-voicemail_import']['it-it'] = "";
$text['header-voicemail_import']['nl-nl'] = "";
$text['header-voicemail_import']['pl-pl'] = "Importuj";
$text['header-voicemail_import']['pt-br'] = "Importar";
$text['header-voicemail_import']['pt-pt'] = "Importat";
$text['header-voicemail_import']['ro-ro'] = "";
$text['header-voicemail_import']['ru-ru'] = "Импорт";
$text['header-voicemail_import']['sv-se'] = "Importera";
$text['header-voicemail_import']['uk-ua'] = "";
$text['header-voicemail_import']['tr-tr'] = "İçe Aktar";
$text['header-voicemail_option']['en-us'] = "Voicemail Option";
$text['header-voicemail_option']['ar-eg'] = "";
$text['header-voicemail_option']['de-at'] = "Mailbox Option"; //copied from de-de

View File

@@ -130,6 +130,7 @@
if (strlen($delimiter) > 0 && file_exists($_SESSION['file']) && $action != 'import') {
//form to match the fields to the column names
$document['title'] = $text['title-voicemail_import'];
require_once "resources/header.php";
echo "<form action='voicemail_imports.php' method='POST' enctype='multipart/form-data' name='frmUpload' onSubmit=''>\n";
@@ -322,13 +323,14 @@
}
//include the header
$document['title'] = $text['title-voicemail_import'];
require_once "resources/header.php";
//begin the content
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td valign='top' align='left' width='30%' nowrap='nowrap'>\n";
echo " <b>".$text['header-import']."</b><br />\n";
echo " <b>".$text['header-voicemail_import']."</b><br />\n";
echo " ".$text['description-import']."\n";
echo " </td>\n";
echo " <td valign='top' width='70%' align='right'>\n";

View File

@@ -141,6 +141,7 @@
$token = $object->create($_SERVER['PHP_SELF']);
//additional includes
$document['title'] = $text['title-voicemails'];
require_once "resources/header.php";
//show the content