diff options
author | filip <filip.komar@gmail.com> | 2020-10-28 23:33:43 +0100 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2020-10-28 23:33:43 +0100 |
commit | 83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f (patch) | |
tree | ec1130c37c2a43da6a18e09b2a8a51d1de3ec5dc | |
parent | 6ac6de9518483855e112c4b37105fed495660b8e (diff) | |
download | www-83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f.tar www-83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f.tar.gz www-83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f.tar.bz2 www-83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f.tar.xz www-83e04ac088f7d69ad4d02f42bddd7bc98dbbaa4f.zip |
adding RTL support for about/policies/privacy page
-rw-r--r-- | en/about/policies/privacy/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/en/about/policies/privacy/index.php b/en/about/policies/privacy/index.php index 21e66f8cc..99159edc9 100644 --- a/en/about/policies/privacy/index.php +++ b/en/about/policies/privacy/index.php @@ -4,9 +4,10 @@ define('ALIGNMENT', 'Center'); require '../../../../langs.php'; $dictionary = read_translation_file($locale, array('about/policies/privacy', 'common_footer')); +$rtl = is_locale_rtl($locale); ?><!DOCTYPE html> -<html lang="<?php echo $locale; ?>" dir="ltr"> +<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>"> <head> <meta charset="utf-8"> <title><?php _g('Privacy policy')?></title> @@ -14,7 +15,7 @@ $dictionary = read_translation_file($locale, array('about/policies/privacy', 'co <?php include '../../../../analytics.php'; ?> <?php echo common_header(); ?> </head> -<body class="about"> +<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <h1 id="mgnavt"><?php _g('Policies')?></h1> <div id="doc" class="yui-t7"> |