From 251d5629bc33bf72ce3b53f2abf83cef5e9f6fce Mon Sep 17 00:00:00 2001 From: filip Date: Wed, 28 Oct 2020 23:29:55 +0100 Subject: adding RTL support for documentation + archive pages --- en/doc/archive.php | 8 +++++--- en/doc/index.php | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'en/doc') diff --git a/en/doc/archive.php b/en/doc/archive.php index c80abf8d1..5b7e11b64 100644 --- a/en/doc/archive.php +++ b/en/doc/archive.php @@ -4,9 +4,10 @@ define('ALIGNMENT', 'Center'); require '../../langs.php'; $dictionary = read_translation_file($locale, array('documentation', 'common_footer')); require 'doc.php'; +$rtl = is_locale_rtl($locale); ?> - + lang=""> <?php _g('Mageia Documentation\'s Archive')?> @@ -14,8 +15,9 @@ require 'doc.php'; - + caption { text-align: right; } ' : ''?> + +>

diff --git a/en/doc/index.php b/en/doc/index.php index 38e381c7d..b15692056 100644 --- a/en/doc/index.php +++ b/en/doc/index.php @@ -5,10 +5,10 @@ require '../../langs.php'; $dictionary = read_translation_file($locale, array('documentation', 'common_footer')); require 'doc.php'; - +$rtl = is_locale_rtl($locale); ?> - + lang=""> <?php _g('Mageia Documentation')?> @@ -16,8 +16,9 @@ require 'doc.php'; + caption { text-align: right; } ' : ''?> - +>

-- cgit v1.2.1