summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 31cda3a80..4e13f93c2 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1748,6 +1748,7 @@ function template_preprocess_page(&$variables) {
$variables['head'] = drupal_get_html_head();
$variables['help'] = theme('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'] = isset($mission) ? $mission : '';