Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-07-21 15:00:23 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-07-21 15:00:23 +0300
commitdbef7e587230acba882def622394d63f9bb03234 (patch)
treefcc84891423164b6465f33e8f10c633e7088e049
parent12e6dc886db8395135cd88dc28fcdf21b45bfa9d (diff)
Revert accidentally committed changes that were made to test rtl languages
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
-rw-r--r--libraries/select_lang.lib.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/select_lang.lib.php b/libraries/select_lang.lib.php
index 16d49534e1..3d9872c37b 100644
--- a/libraries/select_lang.lib.php
+++ b/libraries/select_lang.lib.php
@@ -587,11 +587,11 @@ if (! function_exists('__')) {
}
/* Text direction for language */
-//if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
+if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
$GLOBALS['text_dir'] = 'rtl';
-//} else {
-// $GLOBALS['text_dir'] = 'ltr';
-//}
+} else {
+ $GLOBALS['text_dir'] = 'ltr';
+}
/* TCPDF */
$GLOBALS['l'] = array();