diff options
-rw-r--r-- | en/community/index.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/en/community/index.php b/en/community/index.php index 084c25dcc..7c019c6d3 100644 --- a/en/community/index.php +++ b/en/community/index.php @@ -4,10 +4,11 @@ define('ALIGNMENT', 'Center'); require '../../langs.php'; $dictionary = read_translation_file($locale, array('community', 'news', 'common_footer')); include '../../lib/news.php'; +$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('Mageia Community')?></title> @@ -25,7 +26,7 @@ include '../../lib/news.php'; hr { margin-top: 2em; } </style> </head> -<body class="community"> +<body class="community" <?php echo $rtl ? 'style="text-align: right;"' : ''?>> <?php echo $hsnav; ?> <header id="mgnavt"> <h1><?php _g('Mageia Community Central')?></h1> |