diff options
-rw-r--r-- | en/about/reports/index.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/reports/index.php b/en/about/reports/index.php index b3384bcdb..695e57f13 100644 --- a/en/about/reports/index.php +++ b/en/about/reports/index.php @@ -3,8 +3,10 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../../langs.php'; $dictionary = read_translation_file($locale, array('about/reports', '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('Mageia activity & financial reports')?></title> @@ -14,7 +16,7 @@ $dictionary = read_translation_file($locale, array('about/reports', 'common_foot <?php include '../../../analytics.php'; ?> <?php echo common_header(); ?> </head> -<body class="about"> +<body class="about" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <h1 id="mgnavt"><?php _g('Activity Reports')?></h1> <div id="doc" class="yui-t7" style="margin-bottom: 0px;"> |