Browse Source

Merge pull request #776 from andraskende/2.2

update email layout to use fetch
Mark Story 13 years ago
parent
commit
bc2d449487

+ 1 - 1
app/View/Layouts/Emails/html/default.ctp

@@ -22,7 +22,7 @@
 	<title><?php echo $title_for_layout;?></title>
 </head>
 <body>
-	<?php echo $content_for_layout;?>
+	<?php echo $this->fetch('content');?>
 
 	<p>This email was sent using the <a href="http://cakephp.org">CakePHP Framework</a></p>
 </body>

+ 1 - 1
app/View/Layouts/Emails/text/default.ctp

@@ -16,6 +16,6 @@
  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
  */
 ?>
-<?php echo $content_for_layout;?>
+<?php echo $this->fetch('content');?>
 
 This email was sent using the CakePHP Framework, http://cakephp.org.