Use the new multi-lingual code on fusionpbx/core sub directories.

This commit is contained in:
Mark Crane
2015-01-18 09:22:07 +00:00
parent 23f87feb57
commit a3ecd317d4
38 changed files with 136 additions and 221 deletions

View File

@@ -36,13 +36,8 @@ else {
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text['button-save'] as $key => $value) {
$languages[$key] = '';
}
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
$language = new text;
$text = $language->get();
//set the username from v_users
$username = $_SESSION["username"];