From d6d77e2920902e235f46e14d2adc41dd3d62dd85 Mon Sep 17 00:00:00 2001 From: Anika Henke <anika@selfthinker.org> Date: Sat, 28 Jul 2012 10:26:03 +0100 Subject: [PATCH] removed contradicting comment in template files and made when the doctype is inserted consitent --- lib/tpl/default/detail.php | 3 --- lib/tpl/default/main.php | 3 --- lib/tpl/default/mediamanager.php | 7 ++----- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/tpl/default/detail.php b/lib/tpl/default/detail.php index 503c0ef71..1c8042e15 100644 --- a/lib/tpl/default/detail.php +++ b/lib/tpl/default/detail.php @@ -4,9 +4,6 @@ * * This is the template for displaying image details * - * You should leave the doctype at the very top - It should - * always be the very first line of a document. - * * @link http://dokuwiki.org/templates * @author Andreas Gohr <andi@splitbrain.org> */ diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index 9a14f29a2..851afde6c 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -5,9 +5,6 @@ * This is the template you need to change for the overall look * of DokuWiki. * - * You should leave the doctype at the very top - It should - * always be the very first line of a document. - * * @link http://dokuwiki.org/templates * @author Andreas Gohr <andi@splitbrain.org> */ diff --git a/lib/tpl/default/mediamanager.php b/lib/tpl/default/mediamanager.php index 2b3e6e7db..35b526a32 100644 --- a/lib/tpl/default/mediamanager.php +++ b/lib/tpl/default/mediamanager.php @@ -1,14 +1,9 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php /** * DokuWiki Default Template * * This is the template for the media manager popup * - * You should leave the doctype at the very top - It should - * always be the very first line of a document. - * * @link http://dokuwiki.org/templates * @author Andreas Gohr <andi@splitbrain.org> */ @@ -17,6 +12,8 @@ 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="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -- GitLab