app_languages.php move to the $text array.

This commit is contained in:
Mark Crane
2012-10-24 07:44:41 +00:00
parent 8554794435
commit e896513d4b
2 changed files with 26 additions and 26 deletions

View File

@@ -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';
?>

View File

@@ -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']."&nbsp;</th>\n";
echo " <th class='th' colspan='2' align='left'>".$text['title-table']."&nbsp;</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";