mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use the new multi-lingual code on misc files.
This commit is contained in:
@@ -1262,10 +1262,8 @@ legend {
|
||||
|
||||
<?php
|
||||
//add multi-lingual support
|
||||
require_once "themes/minimized/app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
$language = new text;
|
||||
$text = $language->get(null,'themes/minimized');
|
||||
|
||||
// set message_onload
|
||||
if (strlen($_SESSION['message']) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user