diff options
Diffstat (limited to 'en/thank-you/index.php')
| -rw-r--r-- | en/thank-you/index.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/en/thank-you/index.php b/en/thank-you/index.php index 0ebf88a32..a1614b471 100644 --- a/en/thank-you/index.php +++ b/en/thank-you/index.php @@ -1,6 +1,7 @@ <?php define('HLANG', true); require '../../langs.php'; +$rtl = is_locale_rtl($locale); $dictionary = read_translation_file($locale, array('thank-you', 'common_footer')); @@ -8,7 +9,7 @@ $dictionary = read_translation_file($locale, array('thank-you', 'common_footer') include '../../donators.inc.php'; ?><!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('Thank you for making Mageia possible.')?></title> @@ -18,11 +19,9 @@ include '../../donators.inc.php'; <link rel="stylesheet" type="text/css" href="/g/style/all.css"> <?php echo common_header(); ?> <?php include '../../analytics.php'; ?> - <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 type="text/javascript">thankyou_page();</script> </head> -<body class="donate"> +<body class="donate" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <header id="mgnavt"> <h1><?php _g('Thanks to them too, Mageia goes forward.')?></h1> @@ -32,7 +31,7 @@ include '../../donators.inc.php'; </ul> </header> <article> - <section class="para" style="width: 70%; text-align: left; float: left; padding-bottom: 0px;"> + <section class="para" style="width: 70%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left; padding-bottom: 0px;"> <p><?php echo sprintf(_r('The following amazing people %sdonated money%s to Mageia.Org:'), '<a href="../donate/">', '</a>'); @@ -47,16 +46,16 @@ include '../../donators.inc.php'; <?php _g('Last update:') ?> <span id="last_update"></span> </p> </section> - <section class="para" style="width: 20%; text-align: left; float: left;"> + <section class="para" style="width: 20%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left;"> <p><?php _g('Since September 2010, Mageia would not have come to a reality without the enthusiasm, advice and involvement of hundreds of people.')?></p> <p><?php _g('It would not have either, without help and donation from many people and organizations, that provided Mageia.Org with advice, encouragements, trust, facilities, hosting, server and development hardware, mirroring facilities, network bandwidth, money and finally, care.')?></p> <p><?php _g('This page is here to remind of their contribution to this project.')?></p> </section> - <section class="para" style="width: 20%; text-align: left; float: left;"> + <section class="para" style="width: 20%; <?php echo $rtl ? 'text-align: right;' : 'text-align: left;'?> float: left;"> <p><?php _g('Those organizations and people provided Mageia.Org with mirroring facilities, hosting, hosting advice, server hardware, network bandwidth or some facilities:')?></p> <?php echo html_orgs_list($orgs); ?> <hr> - <p><?php _g('Great places and teams that welcomed us and offerred us some tea, coffee, seats and advice (mostly in Paris for now):')?></p> + <p><?php _g('Great places and teams that welcomed us and offered us some tea, coffee, seats and advice (mostly in Paris for now):')?></p> <ul class="ty-ppl-list twocol"> <li><?php _g('<a href="http://lacantine.org/">La Cantine</a>')?></li> <li><?php _g('Le Père Tranquille')?></li> @@ -69,5 +68,6 @@ include '../../donators.inc.php'; </section> </article> <?php echo common_footer($locale); ?> +<script type="text/javascript">thankyou_page();</script> </body> </html> |
