Fix white space problems with app_languages.php replace the spaces with a single tab. Hide the utf8 artifact on the main page that you see after logging in.

This commit is contained in:
Mark Crane 2012-10-08 21:57:09 +00:00
parent 68b9593f07
commit baa374c056
2 changed files with 24 additions and 21 deletions

View File

@ -2,32 +2,32 @@
$content['title-table']['en-us'] = 'User Information'; $content['title-table']['en-us'] = 'User Information';
$content['title-table']['pt-pt'] = 'Informação do Utilizador'; $content['title-table']['pt-pt'] = 'Informação do Utilizador';
$content['label-name']['en-us'] = 'User Name'; $content['label-name']['en-us'] = 'User Name';
$content['label-name']['pt-pt'] = 'Nome do Utilizador'; $content['label-name']['pt-pt'] = 'Nome do Utilizador';
$content['label-voicemail']['en-us'] = 'Voicemail'; $content['label-voicemail']['en-us'] = 'Voicemail';
$content['label-voicemail']['pt-pt'] = 'Correio de Voz'; $content['label-voicemail']['pt-pt'] = 'Correio de Voz';
$content['label-view-messages']['en-us'] = 'View Messages'; $content['label-view-messages']['en-us'] = 'View Messages';
$content['label-view-messages']['pt-pt'] = 'Ver Mensagens'; $content['label-view-messages']['pt-pt'] = 'Ver Mensagens';
$content_calls['table-extension']['en-us'] = 'Extension'; $content_calls['table-extension']['en-us'] = 'Extension';
$content_calls['table-extension']['pt-pt'] = 'Extensão'; $content_calls['table-extension']['pt-pt'] = 'Extensão';
$content_calls['table-tools']['en-us'] = 'Tools'; $content_calls['table-tools']['en-us'] = 'Tools';
$content_calls['table-tools']['pt-pt'] = 'Ferramentas'; $content_calls['table-tools']['pt-pt'] = 'Ferramentas';
$content_calls['table-description']['en-us'] = 'Description'; $content_calls['table-description']['en-us'] = 'Description';
$content_calls['table-description']['pt-pt'] = 'Descrição'; $content_calls['table-description']['pt-pt'] = 'Descrição';
$content_calls['label-callforward']['en-us'] = 'Call Forward'; $content_calls['label-callforward']['en-us'] = 'Call Forward';
$content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas'; $content_calls['label-callforward']['pt-pt'] = 'Encaminhamento de Chamadas';
$content_calls['label-followme']['en-us'] = 'Follow Me'; $content_calls['label-followme']['en-us'] = 'Follow Me';
$content_calls['label-followme']['pt-pt'] = 'Segue-me'; $content_calls['label-followme']['pt-pt'] = 'Segue-me';
$content_calls['label-dnd']['en-us'] = 'Do Not Disturb'; $content_calls['label-dnd']['en-us'] = 'Do Not Disturb';
$content_calls['label-dnd']['pt-pt'] = 'Não Perturbar'; $content_calls['label-dnd']['pt-pt'] = 'Não Perturbar';
?> ?>

View File

@ -31,12 +31,15 @@ if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php"))
require_once "includes/require.php"; require_once "includes/require.php";
require_once "includes/checkauth.php"; require_once "includes/checkauth.php";
require_once "includes/header.php"; require_once "includes/header.php";
require_once "app_languages.php";
echo "<br />"; echo "<br />";
echo "<br />"; echo "<br />";
foreach($content as $key => $value) { //add multi-lingual support
echo "<!--\n";
require_once "app_languages.php";
echo "-->\n";
foreach($content as $key => $value) {
$content[$key] = $value[$_SESSION['domain']['language']['code']]; $content[$key] = $value[$_SESSION['domain']['language']['code']];
} }