BUG 9510 Doesn't work format RTL SOLVED
- I add format fot RTL
This commit is contained in:
@@ -54,6 +54,7 @@ class serverConf {
|
||||
private $lanDirection;
|
||||
private $lanLanguage;
|
||||
public $workspaces = array();
|
||||
public $rtlLang = array('ar','he','es');
|
||||
|
||||
|
||||
public function __construct() {
|
||||
@@ -401,6 +402,15 @@ class serverConf {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
function isRtl ($lang = SYS_LANG) {
|
||||
$lang = substr($lang, 0, 2);
|
||||
if (in_array($lang, $this->rtlLang)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user