removed old IE shivs and conditionals SPR-801 SPR-823
This commit is contained in:
parent
0503402fda
commit
994d0e8dee
3 changed files with 5 additions and 45 deletions
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<?php
|
||||
/**
|
||||
* DokuWiki Image Detail Page
|
||||
|
@ -11,7 +12,7 @@
|
|||
if (!defined('DOKU_INC')) die();
|
||||
header('X-UA-Compatible: IE=edge,chrome=1');
|
||||
|
||||
?><!DOCTYPE html>
|
||||
?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
|
||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
|
||||
<head>
|
||||
|
@ -28,7 +29,6 @@ header('X-UA-Compatible: IE=edge,chrome=1');
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!--[if lte IE 8 ]><div id="IE8"><![endif]-->
|
||||
<div id="dokuwiki__detail" class="<?php echo tpl_classes(); ?>">
|
||||
<?php html_msgarea() ?>
|
||||
|
||||
|
@ -89,6 +89,5 @@ header('X-UA-Compatible: IE=edge,chrome=1');
|
|||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!--[if lte IE 8 ]></div><![endif]-->
|
||||
</body>
|
||||
</html>
|
||||
|
|
23
main.php
23
main.php
|
@ -17,19 +17,10 @@ $showSidebar = true; /* */
|
|||
$hasFooter = page_findnearest('pagefooter');
|
||||
$showFooter = $hasFooter && ($ACT === 'show');
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* conditional comments for IE8 / IE9 browser detection if needed */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
?>
|
||||
<!--[if lt IE 9]> <html class="no-js lt-ie10 lt-ie9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]-->
|
||||
<!--[if IE 9]> <html class="no-js lt-ie10 ie-9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]-->
|
||||
<!--[if gt IE 9]><!--> <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <!--<![endif]-->
|
||||
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||
<head>
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* meta and link relations */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
|
@ -40,18 +31,6 @@ $showFooter = $hasFooter && ($ACT === 'show');
|
|||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* conditional comments for HTML5 / media queries support in IE8 */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* page title */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<?php
|
||||
/**
|
||||
* DokuWiki Media Manager Popup
|
||||
|
@ -10,13 +11,8 @@
|
|||
if (!defined('DOKU_INC')) die();
|
||||
header('X-UA-Compatible: IE=edge,chrome=1');
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* conditional comments for IE8 / IE9 browser detection if needed */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
?>
|
||||
<!--[if lt IE 9]> <html class="no-js lt-ie10 lt-ie9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]-->
|
||||
<!--[if IE 9]> <html class="no-js lt-ie10 ie-9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]-->
|
||||
<!--[if gt IE 9]><!--> <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <!--<![endif]-->
|
||||
<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||
<head>
|
||||
<?php
|
||||
|
||||
|
@ -29,20 +25,6 @@ header('X-UA-Compatible: IE=edge,chrome=1');
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<?php tpl_metaheaders() ?>
|
||||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* conditional comments for HTML5 / media queries support in IE8 */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
?>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<?php
|
||||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* page title */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue