added X-UA-Compatible to always use the best possible browser mode in IE and give users with Chrome Frame the chance to use it
This commit is contained in:
parent
28f0b50cb1
commit
47cd01e8ac
3 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ if (!defined('DOKU_INC')) die();
|
||||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
|
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
|
||||||
<title>
|
<title>
|
||||||
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
|
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
|
||||||
[<?php echo strip_tags($conf['title'])?>]
|
[<?php echo strip_tags($conf['title'])?>]
|
||||||
|
|
|
||||||
1
main.php
1
main.php
|
|
@ -17,6 +17,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
|
||||||
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
|
||||||
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
|
<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
|
||||||
<?php tpl_metaheaders() ?>
|
<?php tpl_metaheaders() ?>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ if (!defined('DOKU_INC')) die();
|
||||||
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup">
|
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
|
||||||
<title>
|
<title>
|
||||||
<?php echo hsc($lang['mediaselect'])?>
|
<?php echo hsc($lang['mediaselect'])?>
|
||||||
[<?php echo strip_tags($conf['title'])?>]
|
[<?php echo strip_tags($conf['title'])?>]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue