mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
app_languages.php move to the $text array.
This commit is contained in:
@@ -1,33 +1,33 @@
|
||||
<?php
|
||||
|
||||
$content['title-table']['en-us'] = 'User Information';
|
||||
$content['title-table']['pt-pt'] = 'Informação do Utilizador';
|
||||
$text['title-table']['en-us'] = 'User Information';
|
||||
$text['title-table']['pt-pt'] = 'Informação do Utilizador';
|
||||
|
||||
$content['label-name']['en-us'] = 'User Name';
|
||||
$content['label-name']['pt-pt'] = 'Nome do Utilizador';
|
||||
$text['label-name']['en-us'] = 'User Name';
|
||||
$text['label-name']['pt-pt'] = 'Nome do Utilizador';
|
||||
|
||||
$content['label-voicemail']['en-us'] = 'Voicemail';
|
||||
$content['label-voicemail']['pt-pt'] = 'Correio de Voz';
|
||||
$text['label-voicemail']['en-us'] = 'Voicemail';
|
||||
$text['label-voicemail']['pt-pt'] = 'Correio de Voz';
|
||||
|
||||
$content['label-view-messages']['en-us'] = 'View Messages';
|
||||
$content['label-view-messages']['pt-pt'] = 'Ver Mensagens';
|
||||
$text['label-view-messages']['en-us'] = 'View Messages';
|
||||
$text['label-view-messages']['pt-pt'] = 'Ver Mensagens';
|
||||
|
||||
$content_calls['table-extension']['en-us'] = 'Extension';
|
||||
$content_calls['table-extension']['pt-pt'] = 'Extensão';
|
||||
$text['table-extension']['en-us'] = 'Extension';
|
||||
$text['table-extension']['pt-pt'] = 'Extensão';
|
||||
|
||||
$content_calls['table-tools']['en-us'] = 'Tools';
|
||||
$content_calls['table-tools']['pt-pt'] = 'Ferramentas';
|
||||
$text['table-tools']['en-us'] = 'Tools';
|
||||
$text['table-tools']['pt-pt'] = 'Ferramentas';
|
||||
|
||||
$content_calls['table-description']['en-us'] = 'Description';
|
||||
$content_calls['table-description']['pt-pt'] = 'Descrição';
|
||||
$text['table-description']['en-us'] = 'Description';
|
||||
$text['table-description']['pt-pt'] = 'Descrição';
|
||||
|
||||
$content_calls['label-callforward']['en-us'] = 'Call Forward';
|
||||
$content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
|
||||
$text['label-callforward']['en-us'] = 'Call Forward';
|
||||
$text['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
|
||||
|
||||
$content_calls['label-followme']['en-us'] = 'Follow Me';
|
||||
$content_calls['label-followme']['pt-pt'] = 'Segue-me';
|
||||
$text['label-followme']['en-us'] = 'Follow Me';
|
||||
$text['label-followme']['pt-pt'] = 'Segue-me';
|
||||
|
||||
$content_calls['label-dnd']['en-us'] = 'Do Not Disturb';
|
||||
$content_calls['label-dnd']['pt-pt'] = 'Não Perturbar';
|
||||
$text['label-dnd']['en-us'] = 'Do Not Disturb';
|
||||
$text['label-dnd']['pt-pt'] = 'Não Perturbar';
|
||||
|
||||
?>
|
||||
12
index2.php
12
index2.php
@@ -39,8 +39,8 @@ echo "<br />";
|
||||
echo "<!--\n";
|
||||
require_once "app_languages.php";
|
||||
echo "-->\n";
|
||||
foreach($content as $key => $value) {
|
||||
$content[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//information
|
||||
@@ -55,11 +55,11 @@ echo "<br />";
|
||||
|
||||
echo "<table width=\"100%\" border=\"0\" cellpadding=\"7\" cellspacing=\"0\">\n";
|
||||
echo "<tr>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$content['title-table']." </th>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$text['title-table']." </th>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
|
||||
echo " ".$content['label-name'].": \n";
|
||||
echo " ".$text['label-name'].": \n";
|
||||
echo " </td>\n";
|
||||
echo " <td class=\"row_style1\">\n";
|
||||
echo " <a href='".PROJECT_PATH."/app/users/usersupdate.php'>".$_SESSION["username"]."</a> \n";
|
||||
@@ -67,10 +67,10 @@ echo "<br />";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
|
||||
echo " ".$content['label-voicemail'].": \n";
|
||||
echo " ".$text['label-voicemail'].": \n";
|
||||
echo " </td>\n";
|
||||
echo " <td class=\"row_style1\">\n";
|
||||
echo " <a href='".PROJECT_PATH."/app/voicemail_msgs/v_voicemail_msgs.php'>".$content['label-view-messages']."</a> \n";
|
||||
echo " <a href='".PROJECT_PATH."/app/voicemail_msgs/v_voicemail_msgs.php'>".$text['label-view-messages']."</a> \n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
|
||||
Reference in New Issue
Block a user