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 283cda7aa1
commit d5731c9172
38 changed files with 136 additions and 221 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();
//action add or update
if (isset($_REQUEST["id"])) {