com web/windows: Drop code for old IE versions: docroot/styles/ie.css templates/footer.php templates/header.php
| From: | Anatol Belski | Date: | Tue, 25 Apr 2017 14:03:21 +0000 |
| Subject: | com web/windows: Drop code for old IE versions: docroot/styles/ie.css templates/footer.php templates/header.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25765@lists.php.net to get a copy of this message | ||
Commit: 659d674daf417040ee3ec7eabfa3b40c932c0244
Author: Sobak <msobaczewski@gmail.com> Sun, 23 Apr 2017 17:35:26 +0200
Committer: Anatol Belski <ab@php.net> Tue, 25 Apr 2017 16:03:21 +0200
Parents: 24b441c9f4269d9b6e0951760cf0dec66974a888
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=659d674daf417040ee3ec7eabfa3b40c932c0244
Log:
Drop code for old IE versions
Changed paths:
D docroot/styles/ie.css
M templates/footer.php
M templates/header.php
Diff:
diff --git a/docroot/styles/ie..css b/docroot/styles/ie.css
deleted file mode 100644
index 6c13104..0000000
--- a/docroot/styles/ie.css
+++ /dev/null
@@ -1,11 +0,0 @@
-/* Guilherme Blanco contributions */
-
-/* Fix the top bar display on IE */
-#top-navigation {
- margin-top: -15px;
-}
-
-/* Fix page content display on IE */
-#content {
- margin-top: -15px;
-}
\ No newline at end of file
diff --git a/templates/footer.php b/templates/footer.php
index e03b64a..c4ed90e 100644
--- a/templates/footer.php
+++ b/templates/footer.php
@@ -29,14 +29,5 @@
<span class="corners-bottom"><span></span></span>
</li>
</ul>
-<!--[if IE 6]>
-<script type="text/javascript">
- /*Load jQuery if not already loaded*/ if(typeof jQuery == 'undefined'){
document..write("<script type=\"text/javascript\" src=\"http://ajax.googleapis..com/ajax/libs/jquery/1.3.2/jquery.min.js\"></"+"script>");
var __noconflict = true; }
- var IE6UPDATE_OPTIONS = {
- icons_path: "http://static.ie6update.com/hosted/ie6update/images/"
- }
-</script>
-<script type="text/javascript" src="http://static.ie6update.com/hosted/ie6update/ie6update.js"></script>
-<![endif]-->
</body>
</html>
diff --git a/templates/header.php b/templates/header.php
index c55c955...8cda559 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -8,28 +8,9 @@
<link type="text/css" media="screen" rel="stylesheet"
href="/styles/screen.css" />
<link type="text/css" media="print" rel="stylesheet"
href="/styles/print.css" />
<link type="text/css" media="handfield" rel="stylesheet"
href="/styles/handfield.css" />
- <!--[if lt IE 8]>
- <link type="text/css" rel="stylesheet" media="screen"
href="/styles/ie.css" />
- <![endif]-->
- <!--[if lte IE 6]>
- <style type="text/css">
- #ie6msg{border:3px solid #c33; margin:8px 0; background:#fcc; color:#000;}
- #ie6msg h4{margin:8px; padding:0;}
- #ie6msg p{margin:8px; padding:0;}
- #ie6msg p a.getie7{font-weight:bold; color:#006;}
- #ie6msg p a.ie6expl{font-weight:bold; color:#006;}
- </style>
- <![endif]-->
<link rel="icon" href="http://windows.php.net/favicon.ico"
type="image/x-icon" />
</head>
-<!--[if lte IE 6]>
-<div id="ie6msg">
-<h4>Did you know that your browser is out of date?</h4>
-<p>To get the best possible experience using my website I recommend that you upgrade your
browser to a newer version. The current version is <a class="getie7" href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">Internet
Explorer 9</a> or <a class="getie7" href="http://www.beautyoftheweb.com/#/download">Internet
Explorer 9</a>. The upgrade is free. If you’re using a PC at work you should contact your
IT-administrator. Either way, I'd personally like to encourage you to stop using IE6 and try a
more secure and Web Standards-friendly browser.</p>
-<p>You could also try some other popular browsers like <a class="ie6expl"
href="http://mozilla.com">FireFox</a> or
<a class="ie6expl" href="http://www.opera.com">Opera</a>.</p>
-</div>
-<![endif]-->
<body id="homepage">
<ul id="root">