BUG 9510 Doesn't work format RTL SOLVED

- I add format fot RTL
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-08-03 18:57:48 -04:00
parent f66044c585
commit 79ffba21c3
8 changed files with 77 additions and 14 deletions

View File

@@ -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;
}
}
}