Browse Source

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.

Mark Crane 13 năm trước cách đây
mục cha
commit
e0f7b2ea82
2 tập tin đã thay đổi với 24 bổ sung21 xóa
  1. 19 19
      app_languages.php
  2. 5 2
      index2.php

+ 19 - 19
app_languages.php

@@ -2,32 +2,32 @@
 
 	$content['title-table']['en-us'] = 'User Information';
 	$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-voicemail']['en-us'] = 'Voicemail';
+
+	$content['label-voicemail']['en-us'] = 'Voicemail';
 	$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_calls['table-extension']['en-us'] = 'Extension';
+
+	$content_calls['table-extension']['en-us'] = 'Extension';
 	$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-description']['en-us'] = 'Description';
+
+	$content_calls['table-description']['en-us'] = 'Description';
 	$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-followme']['en-us'] = 'Follow Me';
+
+	$content_calls['label-followme']['en-us'] = 'Follow 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';
 
-?>
+?>

+ 5 - 2
index2.php

@@ -31,12 +31,15 @@ if (!file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/includes/config.php"))
 require_once "includes/require.php";
 require_once "includes/checkauth.php";
 require_once "includes/header.php";
-require_once "app_languages.php";
 
 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']];
 	}