diff options
author | redmatrix <git@macgirvin.com> | 2016-06-19 21:10:57 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-19 21:10:57 -0700 |
commit | 905374c86ef78dd6a2c1f7e37b6d290428e6259e (patch) | |
tree | bea876dfb4a4f30ffdc4cff75b70edd1b595f9d8 /boot.php | |
parent | 30841d94709f025a03362b711c4dc2fee85285a7 (diff) | |
download | volse-hubzilla-905374c86ef78dd6a2c1f7e37b6d290428e6259e.tar.gz volse-hubzilla-905374c86ef78dd6a2c1f7e37b6d290428e6259e.tar.bz2 volse-hubzilla-905374c86ef78dd6a2c1f7e37b6d290428e6259e.zip |
experimental rtl support; this will probably require a fair bit of work.
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -771,6 +771,7 @@ class App { public static $groups; public static $language; public static $langsave; + public static $rtl = false; public static $plugins_admin; public static $module_loaded = false; public static $query_string; @@ -2282,6 +2283,12 @@ function construct_page(&$a) { $page = App::$page; $profile = App::$profile; + // There's some experimental support for right-to-left text in the view/php/default.php page template. + // In v1.9 we started providing direction preference in the per language hstrings.php file + // This requires somebody with fluency in a RTL language to make happen + + $page['direction'] = 0; // ((App::$rtl) ? 1 : 0); + header("Content-type: text/html; charset=utf-8"); // security headers - see https://securityheaders.io |