aboutsummaryrefslogtreecommitdiffstats
path: root/en/about/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/about/index.php')
-rw-r--r--en/about/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/en/about/index.php b/en/about/index.php
index bf0da10c5..0a2f64d6b 100644
--- a/en/about/index.php
+++ b/en/about/index.php
@@ -2,11 +2,12 @@
define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
+$rtl = is_locale_rtl($locale);
$dictionary = read_translation_file($locale, array('about', 'common_footer'));
?><!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('About Mageia'); ?></title>
@@ -24,7 +25,7 @@ $dictionary = read_translation_file($locale, array('about', 'common_footer'));
</style>
<?php echo common_header(); ?>
</head>
-<body class="about">
+<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="about">
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('About Mageia')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">