aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/about/policies/privacy/index.php5
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">