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:
Anika Henke 2012-03-24 15:22:04 +00:00
parent 28f0b50cb1
commit 47cd01e8ac
3 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ if (!defined('DOKU_INC')) die();
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
<head>
<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 echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
[<?php echo strip_tags($conf['title'])?>]

View file

@ -17,6 +17,7 @@ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER
lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
<head>
<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>
<?php tpl_metaheaders() ?>
<meta name="viewport" content="width=device-width,initial-scale=1" />

View file

@ -15,6 +15,7 @@ if (!defined('DOKU_INC')) die();
lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup">
<head>
<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 echo hsc($lang['mediaselect'])?>
[<?php echo strip_tags($conf['title'])?>]