diff --git a/app/View/Layouts/ajax.ctp b/app/View/Layouts/ajax.ctp index c0ca27058..c0da8502a 100644 --- a/app/View/Layouts/ajax.ctp +++ b/app/View/Layouts/ajax.ctp @@ -16,4 +16,4 @@ * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ ?> - \ No newline at end of file +fetch('content'); ?> diff --git a/app/View/Layouts/js/default.ctp b/app/View/Layouts/js/default.ctp index d94dc903a..7239b5dae 100644 --- a/app/View/Layouts/js/default.ctp +++ b/app/View/Layouts/js/default.ctp @@ -1,2 +1,2 @@ - \ No newline at end of file + diff --git a/app/View/Layouts/rss/default.ctp b/app/View/Layouts/rss/default.ctp index 2b8e9d434..077de6125 100644 --- a/app/View/Layouts/rss/default.ctp +++ b/app/View/Layouts/rss/default.ctp @@ -8,7 +8,7 @@ if (!isset($channel['title'])) { echo $this->Rss->document( $this->Rss->channel( - array(), $channel, $content_for_layout + array(), $channel, $this->fetch('content') ) ); -?> \ No newline at end of file +?> diff --git a/app/View/Layouts/xml/default.ctp b/app/View/Layouts/xml/default.ctp index 27f20316b..fbd5ee0c3 100644 --- a/app/View/Layouts/xml/default.ctp +++ b/app/View/Layouts/xml/default.ctp @@ -1 +1 @@ - +fetch('content'); ?> diff --git a/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp b/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp index 0df9def85..a1cc8369c 100644 --- a/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp +++ b/lib/Cake/Console/Templates/skel/View/Layouts/Emails/html/default.ctp @@ -24,8 +24,8 @@
- + fetch('content');?>This email was sent using the CakePHP Framework
-