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

View File

@@ -35,10 +35,8 @@ else {
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
$language = new text;
$text = $language->get();
require_once "resources/header.php";
$document['title'] = $text['title-call_flows'];