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
+5 -2
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/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']];
}