aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/about/constitution/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php
index df4533e21..42aaae82a 100644
--- a/en/about/constitution/index.php
+++ b/en/about/constitution/index.php
@@ -2,13 +2,13 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
-
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about/constitution', 'common_footer'));
// Note to translators: _r('Note to translators! PLEASE READ THIS LINE! YOU DON\'T NEED TO TRANSLATE IT! Please translate constitution in file "mageia.org_statutes_fr.md" or "mageia.org_statutes_en.md" as a fallback first. Check wiki for details.')
?><!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Mageia.Org constitution'); ?></title>
@@ -18,7 +18,7 @@ $dictionary = read_translation_file($locale, array('about/constitution', 'common
<?php include '../../../analytics.php'; ?>
<?php echo common_header(); ?>
</head>
-<body class="about constitution">
+<body class="about constitution" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Mageia.Org constitution')?></h1>
<div id="doc4" class="yui-t7" style="margin-bottom: 0px;">