diff options
| author | 2020-03-01 21:15:17 +0100 | |
|---|---|---|
| committer | 2020-03-01 21:15:17 +0100 | |
| commit | 25666ec5d3edbd614b01594399b03d107c8341ff (patch) | |
| tree | acc9bf81b3b87af4eb9515496aa0f68bfda5223b /app/install.php | |
| 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/install.php')
| -rw-r--r-- | app/install.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php index e5847cc5a..957e7a1d6 100644 --- a/app/install.php +++ b/app/install.php @@ -680,7 +680,11 @@ case 5: } ?> <!DOCTYPE html> -<html> +<html<?php +if (_t('gen.dir') === 'rtl') { + echo ' dir="rtl" class="rtl"'; +} +?>> <head> <meta charset="UTF-8" /> <meta name="viewport" content="initial-scale=1.0" /> |
