From 17bee238a06c2d6c5d9e876467c754ec2adcb1c3 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 9 Sep 2012 15:56:11 +0100 Subject: [PATCH] changed doctype to (polyglot) html5 --- detail.php | 5 ++--- main.php | 5 ++--- mediamanager.php | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/detail.php b/detail.php index 1cf7ce0..876408c 100644 --- a/detail.php +++ b/detail.php @@ -11,12 +11,11 @@ if (!defined('DOKU_INC')) die(); @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ -?> +?> - + <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?> diff --git a/main.php b/main.php index 8af2449..94a1311 100644 --- a/main.php +++ b/main.php @@ -11,12 +11,11 @@ if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); -?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +?><!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'] ?>"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta 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']) ?>] diff --git a/mediamanager.php b/mediamanager.php index 489f045..d5d86c5 100644 --- a/mediamanager.php +++ b/mediamanager.php @@ -9,12 +9,11 @@ if (!defined('DOKU_INC')) die(); @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ -?> +?> - + <?php echo hsc($lang['mediaselect'])?>