diff options
-rw-r--r-- | en/thank-you/index.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/en/thank-you/index.php b/en/thank-you/index.php index 4711ae4be..5ecd96dae 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> @@ -22,7 +23,7 @@ include '../../donators.inc.php'; <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 +33,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,12 +48,12 @@ 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> |