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,15 +35,13 @@ 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-databases'];
require_once "resources/paging.php";
//includes and title
require_once "resources/header.php";
$document['title'] = $text['title-databases'];
require_once "resources/paging.php";
//get variables used to control the order
$order_by = $_GET["order_by"];