mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add the text class to more of the applications.
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
require_once "app_languages.php";
|
||||
if (permission_exists('follow_me') || permission_exists('call_forward') || permission_exists('do_not_disturb')) {
|
||||
//access granted
|
||||
}
|
||||
@@ -36,9 +35,8 @@ else {
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//define the destination_select function
|
||||
function destination_select($select_name, $select_value, $select_default) {
|
||||
|
||||
@@ -39,11 +39,8 @@ else {
|
||||
$order = check_str($_GET["order"]);
|
||||
|
||||
//add multi-lingual support
|
||||
unset($text);
|
||||
require_once "app/calls/app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//begin the content
|
||||
require_once "resources/header.php";
|
||||
|
||||
Reference in New Issue
Block a user