aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/values/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/values/index.php')
-rw-r--r--en/about/values/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/values/index.php b/en/about/values/index.php
index 5d177d370..9491ea540 100644
--- a/en/about/values/index.php
+++ b/en/about/values/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/values', 'common_footer'));
+$rtl = is_locale_rtl($locale);
+
?><!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 Values')?></title>
@@ -14,7 +16,7 @@ $dictionary = read_translation_file($locale, array('about/values', 'common_foote
<?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('Values')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">