diff options
Diffstat (limited to 'en/contact/index.php')
-rw-r--r-- | en/contact/index.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/en/contact/index.php b/en/contact/index.php index b133d70ce..aae0aab3c 100644 --- a/en/contact/index.php +++ b/en/contact/index.php @@ -3,8 +3,10 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../langs.php'; $dictionary = read_translation_file($locale, array('contact', 'common_footer')); +$rtl = is_locale_rtl($locale); + ?><!DOCTYPE html> -<html lang="<?php echo $locale; ?>"> +<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>"> <head> <meta charset="utf-8"> <title><?php _g('Contact Us')?></title> @@ -15,7 +17,7 @@ $dictionary = read_translation_file($locale, array('contact', 'common_footer')); <link rel="canonical" href="/<?php echo $locale; ?>/contact/"> <?php include '../../analytics.php'; ?> </head> -<body class="contact"> +<body class="contact" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <h1 id="mgnavtitle"><?php _g('Contact Us')?></h1> <div id="doc" class="container row"> |