Multilinguified Upgrade Schema

This commit is contained in:
Nate Jones
2013-06-06 23:09:07 +00:00
parent ec2226edce
commit 720b53eb1e
4 changed files with 74 additions and 20 deletions
+15
View File
@@ -33,6 +33,12 @@
require_once "includes/require.php";
$_SERVER["DOCUMENT_ROOT"] = $document_root;
$display_type = 'text'; //html, text
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
}
else {
include "root.php";
@@ -45,7 +51,16 @@
echo "access denied";
exit;
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
require_once "includes/header.php";
$page["title"] = $text['title-upgrade_schema'];
$display_type = 'html'; //html, text
}