Browse Source

removed support for IE7

master
Anika Henke 9 years ago
parent
commit
61d6ac6246
  1. 5
      css/basic.css
  2. 18
      css/design.css
  3. 3
      css/structure.css
  4. 4
      detail.php
  5. 6
      main.php
  6. 4
      mediamanager.php

5
css/basic.css

@ -261,7 +261,6 @@ iframe {
}
/* IE8 and below won't display the images otherwise */
#IE7 img,
#IE8 img,
button img {
max-width: none;
@ -412,10 +411,6 @@ button {
overflow: visible;
padding: .1em .4em;
}
#IE7 .dokuwiki input.button,
#IE7 .dokuwiki button {
line-height: 1.4;
}
input[disabled],
button[disabled],

18
css/design.css

@ -13,9 +13,6 @@
#dokuwiki__header {
margin: 1em 0 0;
}
#IE7 #dokuwiki__header {
margin-top: 2em;
}
#dokuwiki__header .headings {
margin-bottom: 2.1em;
@ -150,18 +147,6 @@
[dir=rtl] #dokuwiki__pagetools ul li a.action.top {
float: left;
}
#IE7 #dokuwiki__pagetools ul {
position: relative;
}
#IE7 #dokuwiki__pagetools ul li a.action.top {
position: absolute;
top: 0;
right: 0;
}
[dir=rtl] #IE7 #dokuwiki__pagetools ul li a.action.top {
right: auto;
left: 0;
}
/* sidebar
@ -246,9 +231,6 @@
#dokuwiki__footer {
margin-bottom: 1em;
}
#IE7 #dokuwiki__footer {
height: 1%;
}
#dokuwiki__footer .doc {
float: left;

3
css/structure.css

@ -38,9 +38,6 @@ body {
#dokuwiki__site .wrapper {
position: relative;
}
#IE7 #dokuwiki__site .wrapper {
height: 1%;
}
#dokuwiki__aside {
width: __sidebar_width__;

4
detail.php

@ -29,7 +29,7 @@ header('X-UA-Compatible: IE=edge,chrome=1');
</head>
<body>
<!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
<!--[if lte IE 8 ]><div id="IE8"><![endif]-->
<div id="dokuwiki__detail" class="<?php echo tpl_classes(); ?>">
<?php html_msgarea() ?>
@ -91,6 +91,6 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<?php endif; ?>
</div>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>

6
main.php

@ -28,8 +28,8 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
<body>
<?php /* with these Conditional Comments you can better address IE issues in CSS files,
precede CSS rules by #IE7 for IE7 and #IE8 for IE8 (div closes at the bottom) */ ?>
<!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
<!--[if lte IE 8 ]><div id="IE8"><![endif]-->
<?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
<?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
@ -173,6 +173,6 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
</div></div><!-- /site -->
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>

4
mediamanager.php

@ -27,7 +27,7 @@ header('X-UA-Compatible: IE=edge,chrome=1');
</head>
<body>
<!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
<!--[if IE 8 ]><div id="IE8"><![endif]-->
<div id="media__manager" class="<?php echo tpl_classes(); ?>">
<?php html_msgarea() ?>
<div id="mediamgr__aside"><div class="pad">
@ -43,6 +43,6 @@ header('X-UA-Compatible: IE=edge,chrome=1');
<?php tpl_mediaContent() ?>
</div></div>
</div>
<!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
<!--[if lte IE 8 ]></div><![endif]-->
</body>
</html>
Loading…
Cancel
Save