diff options
Diffstat (limited to 'en/downloads/get')
-rw-r--r-- | en/downloads/get/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index 21e0fb782..846cb5f32 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -40,6 +40,7 @@ define('ALIGNMENT', 'Center'); require '../../../langs.php'; $dictionary = read_translation_file($locale, array('downloads/get', 'common_footer')); require 'lib.php'; +$rtl = is_locale_rtl($locale); // request $product = get('q'); @@ -214,7 +215,7 @@ if ($debug) $js_redirect = null; ?><!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 echo $title; ?> | <?php _g('Mageia Downloads') ?></title> @@ -227,7 +228,7 @@ if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') { } ?> </head> -<body class="downloads"> +<body <?php echo $rtl ? 'style="text-align: right;"' : ''?> class="downloads"> <?php echo $hsnav; ?> <h1 id="mgnavt"><?php echo sprintf(_r('Download %s'), '<em class="tag">' . $title . '</em>')?></h1> <div id="doc4" class="yui-t7" style="margin-bottom: 0px;"> |