Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2018-07-27 11:11:48 +0300
committerAleksander Machniak <alec@alec.pl>2018-07-27 11:11:48 +0300
commit93965fa79c0d10da12040e5a711e881329d3da1f (patch)
tree8ff49d824392dd74d532f8b4822050dfc5c0831f
parenteefbbb67495ef0d5b407581b15c49ca1677ec176 (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.inc16
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 />
-&raquo; &nbsp;Microsoft Internet Explorer 7+<br />
-&raquo; &nbsp;Mozilla Firefox 3+<br />
-&raquo; &nbsp;Chrome 10+<br />
-&raquo; &nbsp;Safari 4+<br />
-&raquo; &nbsp;Opera 8+<br />
-<br />
-&raquo; &nbsp;JavaScript enabled<br />
-&raquo; &nbsp;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