diff options
-rw-r--r-- | en/about/code-of-conduct/index.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/en/about/code-of-conduct/index.php b/en/about/code-of-conduct/index.php index 2acad4887..21fd0695b 100644 --- a/en/about/code-of-conduct/index.php +++ b/en/about/code-of-conduct/index.php @@ -3,8 +3,10 @@ define('HLANG', true); define('ALIGNMENT', 'Center'); require '../../../langs.php'; $dictionary = read_translation_file($locale, array('about/code-of-conduct', '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"> @@ -16,7 +18,7 @@ $dictionary = read_translation_file($locale, array('about/code-of-conduct', 'com <?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('Code of Conduct')?></h1> <div id="doc" class="yui-t7"> |