summaryrefslogtreecommitdiff
path: root/includes/theme.maintenance.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-24 09:42:53 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-24 09:42:53 +0000
commit7186c4433e85f4f307466e9706b2a62e30a9b173 (patch)
tree033ae5873052a6108a346da9e259fcdeef3a9ecd /includes/theme.maintenance.inc
parentff4fd98430669b6355d91c2a5042b116d840d3da (diff)
downloadbrdo-7186c4433e85f4f307466e9706b2a62e30a9b173.tar.gz
brdo-7186c4433e85f4f307466e9706b2a62e30a9b173.tar.bz2
#208768 by dvessel, Arancaytar: language direction should be in the HTML source, so it is more accessible even without CSS
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r--includes/theme.maintenance.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc
index b4cc24940..c513a00b5 100644
--- a/includes/theme.maintenance.inc
+++ b/includes/theme.maintenance.inc
@@ -247,6 +247,7 @@ function template_preprocess_maintenance_page(&$variables) {
$variables['head'] = drupal_get_html_head();
$variables['help'] = '';
$variables['language'] = $GLOBALS['language'];
+ $variables['language']->dir = $GLOBALS['language']->direction ? 'rtl' : 'ltr';
$variables['logo'] = theme_get_setting('logo');
$variables['messages'] = $variables['show_messages'] ? theme('status_messages') : '';
$variables['mission'] = '';