Use the new multi-lingual code on misc files.

This commit is contained in:
Nate Jones
2015-01-18 10:33:34 +00:00
parent e0115b0e99
commit 2448ab3a8e
21 changed files with 39 additions and 79 deletions
+3 -4
View File
@@ -34,10 +34,9 @@ else {
exit;
}
require_once "app/devices/app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
//add multi-lingual support
$language = new text;
$text = $language->get();
require_once "resources/header.php";
require_once "resources/paging.php";