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

This commit is contained in:
Nate Jones
2015-01-18 10:04:43 +00:00
parent 2346af5e4b
commit fbb48feb0d
38 changed files with 81 additions and 156 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"])) {
@@ -90,7 +88,7 @@ else {
$voicemail_uuid_copy = check_str($_REQUEST["voicemail_uuid_copy"]);
//assign the user to the extension
$sqli = "
insert into
insert into
v_voicemail_destinations
(
domain_uuid,