From 376bad8b5ccfa9b914d0cc871fb6207cdb322e37 Mon Sep 17 00:00:00 2001 From: filip Date: Thu, 29 Oct 2020 18:21:00 +0100 Subject: adding RTL support for 404 page --- 404.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/404.php b/404.php index 6ed9dd9cd..d16c61917 100644 --- a/404.php +++ b/404.php @@ -4,10 +4,11 @@ define('ALIGNMENT', 'Center'); require 'langs.php'; // needs absolute path in some form to be link depth independent $locale = ($locale == '404.php' ? 'en' : $locale); $dictionary = read_translation_file($locale, array('404', 'common_footer')); +$rtl = is_locale_rtl($locale); header('HTTP/1.0 404 Not Found'); header('Status: 404 Not Found'); ?> - + lang=""> <?php _g('Sorry, we could not find this page.')?> @@ -17,7 +18,7 @@ header('Status: 404 Not Found'); - +>

-- cgit v1.2.1