summaryrefslogtreecommitdiff
path: root/lib/tpl/dokuwiki/detail.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-07-01 15:18:57 +0100
committerAnika Henke <anika@selfthinker.org>2012-07-01 15:18:57 +0100
commitc0670a18504afca86e3544e151035f42daf17200 (patch)
tree91072ed955b4667c554877fb9d61b783ef623519 /lib/tpl/dokuwiki/detail.php
parentfc8dc8221b129775d2778687772469c083a67fbe (diff)
downloadrpg-c0670a18504afca86e3544e151035f42daf17200.tar.gz
rpg-c0670a18504afca86e3544e151035f42daf17200.tar.bz2
switched new default template to HTML5 and added 'no-js' class
Diffstat (limited to 'lib/tpl/dokuwiki/detail.php')
-rw-r--r--lib/tpl/dokuwiki/detail.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/tpl/dokuwiki/detail.php b/lib/tpl/dokuwiki/detail.php
index cf68aca95..bb64b42cb 100644
--- a/lib/tpl/dokuwiki/detail.php
+++ b/lib/tpl/dokuwiki/detail.php
@@ -10,10 +10,8 @@
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
- lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
+?><!DOCTYPE html>
+<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
<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]-->
@@ -21,6 +19,7 @@ if (!defined('DOKU_INC')) die();
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
[<?php echo strip_tags($conf['title'])?>]
</title>
+ <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
<?php tpl_metaheaders()?>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<?php echo tpl_favicon(array('favicon', 'mobile')) ?>