diff options
| author | 2020-03-01 21:15:17 +0100 | |
|---|---|---|
| committer | 2020-03-01 21:15:17 +0100 | |
| commit | 25666ec5d3edbd614b01594399b03d107c8341ff (patch) | |
| tree | acc9bf81b3b87af4eb9515496aa0f68bfda5223b /app/layout/layout.phtml | |
| parent | bfc731632cd32635eace9cfe99095e7971c8a4f8 (diff) | |
[UI] Add RTL support with RTLCSS (#2776)
* Add dir info to gen.php & install.php!
* Add `make rtl` command
Using rtlcss because it has actually has a command-line application!
Diffstat (limited to 'app/layout/layout.phtml')
| -rw-r--r-- | app/layout/layout.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 3f4cc7b4a..b7389c126 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -1,6 +1,10 @@ <?php FreshRSS::preLayout(); ?> <!DOCTYPE html> -<html lang="<?= FreshRSS_Context::$user_conf->language ?>" xml:lang="<?= FreshRSS_Context::$user_conf->language ?>"> +<html lang="<?= FreshRSS_Context::$user_conf->language ?>" xml:lang="<?= FreshRSS_Context::$user_conf->language ?>"<?php +if (_t('gen.dir') === 'rtl') { + echo ' dir="rtl" class="rtl"'; +} +?>> <head> <meta charset="UTF-8" /> <meta name="viewport" content="initial-scale=1.0" /> |
