diff --git a/README.md b/README.md index 0903de603..9a9d765a0 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ The [squire](https://github.com/neilj/Squire) implementation is not 100% compati Still TODO: * support for tables (really needed?!?) +* support BIDI (really needed?!?) | | normal | min | gzip | min gzip | |-------- |-------: |-------: |------: |--------: | diff --git a/rainloop/v/0.0.0/app/libraries/RainLoop/ServiceActions.php b/rainloop/v/0.0.0/app/libraries/RainLoop/ServiceActions.php index 7ea634f9f..9ebfb8a7e 100644 --- a/rainloop/v/0.0.0/app/libraries/RainLoop/ServiceActions.php +++ b/rainloop/v/0.0.0/app/libraries/RainLoop/ServiceActions.php @@ -716,6 +716,20 @@ class ServiceActions return $this->localError($this->oActions->StaticI18N('STATIC/NO_COOKIE_TITLE'), $this->oActions->StaticI18N('STATIC/NO_COOKIE_DESC')); } + public function ServiceBadBrowser() : string + { + $sTitle = $this->oActions->StaticI18N('STATIC/BAD_BROWSER_TITLE'); + $sDesc = \nl2br($this->oActions->StaticI18N('STATIC/BAD_BROWSER_DESC')); + + \header('Content-Type: text/html; charset=utf-8'); + return \strtr(\file_get_contents(APP_VERSION_ROOT_PATH.'app/templates/BadBrowser.html'), array( + '{{BaseWebStaticPath}}' => Utils::WebStaticPath(), + '{{ErrorTitle}}' => $sTitle, + '{{ErrorHeader}}' => $sTitle, + '{{ErrorDesc}}' => $sDesc + )); + } + public function ServiceMailto() : string { $this->oHttp->ServerNoCache(); diff --git a/rainloop/v/0.0.0/app/templates/BadBrowser.html b/rainloop/v/0.0.0/app/templates/BadBrowser.html new file mode 100644 index 000000000..ac2c64326 --- /dev/null +++ b/rainloop/v/0.0.0/app/templates/BadBrowser.html @@ -0,0 +1,43 @@ + + + + + + {{ErrorTitle}} + + + +

{{ErrorHeader}}

+
+
+

{{ErrorDesc}}

+ Google Chrome + Microsoft Edge + Mozilla Firefox +
+ + diff --git a/rainloop/v/0.0.0/app/templates/Index.html b/rainloop/v/0.0.0/app/templates/Index.html index 5d3e7fe73..3ff5b9307 100644 --- a/rainloop/v/0.0.0/app/templates/Index.html +++ b/rainloop/v/0.0.0/app/templates/Index.html @@ -17,6 +17,7 @@ +