From 5aa9c26fdf80c0756dd5485d135dc7bdeb212d74 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 21 Dec 2012 23:52:43 +0530 Subject: [PATCH] Update doctypes to html5 --- app/View/Layouts/default.ctp | 4 ++-- app/View/Layouts/error.ctp | 4 ++-- app/View/Layouts/flash.ctp | 4 ++-- lib/Cake/Console/Templates/skel/View/Layouts/default.ctp | 2 +- lib/Cake/Console/Templates/skel/View/Layouts/error.ctp | 2 +- lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/View/Layouts/default.ctp b/app/View/Layouts/default.ctp index 39704bf44..c17c808aa 100644 --- a/app/View/Layouts/default.ctp +++ b/app/View/Layouts/default.ctp @@ -18,8 +18,8 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework'); ?> - - + + Html->charset(); ?> diff --git a/app/View/Layouts/error.ctp b/app/View/Layouts/error.ctp index 49477342e..fb10b28c2 100644 --- a/app/View/Layouts/error.ctp +++ b/app/View/Layouts/error.ctp @@ -18,8 +18,8 @@ $cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework'); ?> -<!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"> +<!DOCTYPE html> +<html> <head> <?php echo $this->Html->charset(); ?> <title> diff --git a/app/View/Layouts/flash.ctp b/app/View/Layouts/flash.ctp index 76fae3496..2a626605d 100644 --- a/app/View/Layouts/flash.ctp +++ b/app/View/Layouts/flash.ctp @@ -16,8 +16,8 @@ * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ ?> -<!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"> +<!DOCTYPE html> +<html> <head> <?php echo $this->Html->charset(); ?> <title><?php echo $page_title; ?> diff --git a/lib/Cake/Console/Templates/skel/View/Layouts/default.ctp b/lib/Cake/Console/Templates/skel/View/Layouts/default.ctp index 0bcf45401..7d8cc7be9 100644 --- a/lib/Cake/Console/Templates/skel/View/Layouts/default.ctp +++ b/lib/Cake/Console/Templates/skel/View/Layouts/default.ctp @@ -17,7 +17,7 @@ */ ?> - + Html->charset(); ?> diff --git a/lib/Cake/Console/Templates/skel/View/Layouts/error.ctp b/lib/Cake/Console/Templates/skel/View/Layouts/error.ctp index bfbefe4a3..5726508c1 100644 --- a/lib/Cake/Console/Templates/skel/View/Layouts/error.ctp +++ b/lib/Cake/Console/Templates/skel/View/Layouts/error.ctp @@ -17,7 +17,7 @@ */ ?> <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html> <head> <?php echo $this->Html->charset(); ?> <title> diff --git a/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp b/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp index b96f52b26..d9e0fbf50 100644 --- a/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp +++ b/lib/Cake/Console/Templates/skel/View/Layouts/flash.ctp @@ -17,7 +17,7 @@ */ ?> <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html> <head> <?php echo $this->Html->charset(); ?> <title><?php echo $page_title; ?>