Remove BadBrowser Internet Explorer code

This commit is contained in:
djmaze 2020-07-13 10:58:03 +02:00
parent eb731a4183
commit c9285dd3e8
7 changed files with 0 additions and 88 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -712,20 +712,6 @@ 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();

View file

@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="robots" content="noindex, nofollow, noodp" />
<meta name="google" content="notranslate" />
<title>{{ErrorTitle}}</title>
<style type="text/css">
html, body {
font-family: arial, sans-serif;
font-size: 14px;
}
.content {
position: absolute;
left: 50%;
top: 50%;
text-align: center;
width: 600px;
margin: -200px 0px 0px -250px;
background: #FFF;
line-height: 150%;
border-bottom: 1px solid #E4E4E4;
}
.error-header {
font-size: 16px;
font-weight: bold;
}
.error-desc {
padding: 10px;
background-color: #eee;
}
.browsers {
width: 450px;
height: 115px;
margin: 10px auto 0px;
}
.browsers a {
float: left;
width: 150px;
height: 20px;
padding: 80px 0px 7px;
}
</style>
</head>
<body class="content">
<div class="error-header">
{{ErrorHeader}}
</div>
<br />
<div class="error-desc">
<br />
{{ErrorDesc}}
<br />
<br />
<div class="browsers">
<a href="http://www.google.com/chrome/" target="_blank" style="background: url('{{BaseWebStaticPath}}browsers/chrome.gif') no-repeat 50% 6px;">Google Chrome</a>
<a href="http://www.mozilla-europe.org/" target="_blank" style="background: url('{{BaseWebStaticPath}}browsers/firefox.gif') no-repeat 50% 7px;">Mozilla Firefox</a>
<a href="http://www.opera.com/" target="_blank" style="background: url('{{BaseWebStaticPath}}browsers/opera.gif') no-repeat 50% 7px;">Opera</a>
</div>
</div>
</body>
</html>

View file

@ -4,11 +4,7 @@
<noscript>
<meta http-equiv="refresh" content="0; URL=./?/NoScript" />
</noscript>
<!--[if lte IE 8]>
<meta http-equiv="refresh" content="0; URL=./?/BadBrowser" />
<![endif]-->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="{{BaseViewport}}">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="google" content="notranslate" />