aboutsummaryrefslogtreecommitdiffstats
path: root/en/index.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2020-10-03 19:08:02 +0200
committerfilip <filip.komar@gmail.com>2020-10-03 19:08:02 +0200
commit7b773b796df2a1df09b59efc9c271c44059a0aa0 (patch)
treeed45badf4f0aca10876863e57261750166ea73f1 /en/index.php
parent3cfeaf194fa87c69939700db4678f2b3d4869b32 (diff)
downloadwww-7b773b796df2a1df09b59efc9c271c44059a0aa0.tar
www-7b773b796df2a1df09b59efc9c271c44059a0aa0.tar.gz
www-7b773b796df2a1df09b59efc9c271c44059a0aa0.tar.bz2
www-7b773b796df2a1df09b59efc9c271c44059a0aa0.tar.xz
www-7b773b796df2a1df09b59efc9c271c44059a0aa0.zip
RTL text direction fix
Diffstat (limited to 'en/index.php')
-rw-r--r--en/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/en/index.php b/en/index.php
index 9fa95a493..9c6004a76 100644
--- a/en/index.php
+++ b/en/index.php
@@ -8,7 +8,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot
$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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">