aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/about/media/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/media/index.php b/en/about/media/index.php
index 8c0385310..f5e76fc87 100644
--- a/en/about/media/index.php
+++ b/en/about/media/index.php
@@ -5,8 +5,10 @@ require '../../../langs.php';
$dictionary = read_translation_file($locale, array('about/media', 'common_footer'));
$underscore_locale = locale_hyphen_underscore($locale, true); // create pt_BR from pt-br and alike
+$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 media files')?></title>
@@ -16,7 +18,7 @@ $underscore_locale = locale_hyphen_underscore($locale, true); // create pt_BR fr
<?php echo common_header(); ?>
<?php include '../../../analytics.php'; ?>
</head>
-<body class="about">
+<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Media files')?></h1>
<div id="doc" class="yui-t7" style="margin-bottom: 0px;">