aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/contribute/index.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/en/contribute/index.php b/en/contribute/index.php
index e9bf8ea13..8e33754a6 100644
--- a/en/contribute/index.php
+++ b/en/contribute/index.php
@@ -4,9 +4,10 @@ define('HLANG', true);
define('ALIGNMENT', 'Center');
require '../../langs.php';
$dictionary = read_translation_file($locale, array('contribute', 'common_footer'));
+$rtl = is_locale_rtl($locale);
?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
+<html <?php echo $rtl ? 'dir="rtl"' : 'dir="ltr"'?> lang="<?php echo $locale; ?>">
<head>
<meta charset="utf-8">
<title><?php _g('Contribute to Mageia')?></title>
@@ -18,10 +19,10 @@ $dictionary = read_translation_file($locale, array('contribute', 'common_footer'
<?php echo common_header(); ?>
<link rel="canonical" href="/<?php echo $locale; ?>/contribute/">
</head>
-<body id="top" class="contribute">
+<body id="top" class="contribute" <?php echo $rtl ? 'style="text-align: right;"' : ''?>>
<?php echo $hsnav; ?>
<h1 id="mgnavtitle"><?php _g('Contribute to Mageia')?></h1>
- <div id="doc5" class="yui-t7" style="margin-bottom: 0px;">
+ <div id="doc5" class="yui-t7" style="margin-bottom: 0px; <?php echo $rtl ? 'text-align: right;"' : ''?>">
<div class="row">
<div class="para bb1" style="padding-top: 2em;">
<p><?php _g('Many people from all over the world gather to build Mageia &ndash; a Linux-based operating system <em>and</em> a <a href="../about/code-of-conduct/">lively, fun community</a> for <a href="../about/values/">building Free Software projects</a>.')?></p>