diff options
-rw-r--r-- | en/support/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/en/support/index.php b/en/support/index.php index 9ee009a50..5f5f30e44 100644 --- a/en/support/index.php +++ b/en/support/index.php @@ -3,9 +3,10 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../langs.php'; $dictionary = read_translation_file($locale, array('support', '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('Support for Mageia distribution')?></title> @@ -15,7 +16,7 @@ $dictionary = read_translation_file($locale, array('support', 'common_footer')); <?php include '../../analytics.php'; ?> <?php echo common_header(); ?> </head> -<body class="support"> +<body class="support" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <header id="mgnavt"> <h1><?php _g('Support')?></h1> |