aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/donate/index.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/en/donate/index.php b/en/donate/index.php
index 937d64b3c..d8f666077 100644
--- a/en/donate/index.php
+++ b/en/donate/index.php
@@ -3,8 +3,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('donate', '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('Donate to Mageia')?></title>
@@ -22,7 +24,7 @@ $dictionary = read_translation_file($locale, array('donate', 'common_footer'));
<script src="//static.mageia.org/g/js/treasurer.js"></script>
<script>donate_page();</script>
</head>
-<body class="donate">
+<body class="donate" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Donate to Mageia')?></h1>
<div id="doc2" class="yui-t7" style="margin-bottom: 0px;">