Index: branches/new-installer/phase3/includes/installer/WebInstallerOutput.php |
— | — | @@ -57,6 +57,14 @@ |
58 | 58 | } |
59 | 59 | } |
60 | 60 | |
| 61 | + function getDir() { |
| 62 | + global $wgLang; |
| 63 | + if( !is_object( $wgLang ) || !$wgLang->isRtl() ) |
| 64 | + return 'ltr'; |
| 65 | + else |
| 66 | + return 'rtl'; |
| 67 | + } |
| 68 | + |
61 | 69 | function outputHeader() { |
62 | 70 | global $wgVersion; |
63 | 71 | $this->headerDone = true; |
— | — | @@ -89,7 +97,7 @@ |
90 | 98 | <script type="text/javascript" src="../skins/common/config.js"></script> |
91 | 99 | </head> |
92 | 100 | |
93 | | -<body> |
| 101 | +<body class="<?php print $this->getDir(); ?>"> |
94 | 102 | <noscript> |
95 | 103 | <style> |
96 | 104 | .config-help-message { display: block; } |