diff options
author | Aleksander Machniak <alec@alec.pl> | 2018-07-27 11:11:48 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2018-07-27 11:11:48 +0300 |
commit | 93965fa79c0d10da12040e5a711e881329d3da1f (patch) | |
tree | 8ff49d824392dd74d532f8b4822050dfc5c0831f | |
parent | eefbbb67495ef0d5b407581b15c49ca1677ec176 (diff) |
Get rid of outdated supported browsers list in the error page
We anyway check only for javascript and xmlhttprequest support
-rw-r--r-- | program/steps/utils/error.inc | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/program/steps/utils/error.inc b/program/steps/utils/error.inc index 773fe71fe..91ec0d9fb 100644 --- a/program/steps/utils/error.inc +++ b/program/steps/utils/error.inc @@ -25,20 +25,8 @@ $rcmail = rcmail::get_instance(); if ($ERROR_CODE == 409) { $user_agent = htmlentities($_SERVER['HTTP_USER_AGENT']); $__error_title = 'Your browser does not suit the requirements for this application'; - $__error_text = <<<EOF -<i>Supported browsers:</i><br /> -» Microsoft Internet Explorer 7+<br /> -» Mozilla Firefox 3+<br /> -» Chrome 10+<br /> -» Safari 4+<br /> -» Opera 8+<br /> -<br /> -» JavaScript enabled<br /> -» Support for XMLHTTPRequest<br /> - -<p><i>Your configuration:</i><br /> -$user_agent</p> -EOF; + $__error_text = "Required features: <i>JavaScript enabled</i> and <i>XMLHTTPRequest support</i>." + . "<p><i>Your configuration:</i><br>$user_agent</p>"; } // authorization error |