aboutsummaryrefslogtreecommitdiffstats
path: root/en/donate/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/donate/index.php')
-rw-r--r--en/donate/index.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/en/donate/index.php b/en/donate/index.php
index 937d64b3c..d8a8f3401 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>
@@ -18,11 +20,9 @@ $dictionary = read_translation_file($locale, array('donate', 'common_footer'));
h3 {margin:1.5em 0 0.3em; }
.dlinfo li { margin-bottom: 0.6em; }
</style>
- <script src="//static.mageia.org/g/js/jquery-1.10.1.min.js"></script>
<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;">
@@ -31,8 +31,6 @@ $dictionary = read_translation_file($locale, array('donate', 'common_footer'));
<div class="para">
<h2 id="d-paypal"><?php _g('Donate via PayPal,'); ?></h2>
<?php include '../../paypal.inc.php'; echo html_paypal_form($locale); ?>
- <h3 id="d-bitcoin"><?php _g('via bitcoin,'); ?></h3>
- <?php echo sprintf(_r('If you want to donate <a href="http://bitcoin.org/">bitcoins</a>, the Mageia.Org bitcoin address is <b>%s</b>.'), '<a href="https://blockchain.info/address/1GYF2h69NrJ7Pp92bNPDEdLABbH1hR7rsA">1GYF2h69NrJ7Pp92bNPDEdLABbH1hR7rsA</a>'); ?>
<h3><?php _g('or via check (&euro; only).')?></h3>
<p><?php _g('You can send your donation by check to this address:')?></p>
@@ -97,5 +95,6 @@ People can choose how to distribute their donation among those:
</div>
</div>
<?php echo common_footer($locale); ?>
+<script>donate_page();</script>
</body>
</html>