From 9131b253faf071875a2e0cc37140b0d77159f158 Mon Sep 17 00:00:00 2001 From: gwoo Date: Thu, 18 Oct 2007 19:55:20 +0000 Subject: [PATCH] adding default templates for email git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5787 3807eeeb-6ff5-0310-8944-8be069107fe0 --- .../templates/elements/email/html/default.ctp | 31 +++++++++++++++ .../templates/elements/email/text/default.ctp | 27 +++++++++++++ cake/libs/view/templates/layouts/default.ctp | 2 +- .../templates/layouts/email/html/default.ctp | 39 +++++++++++++++++++ .../templates/layouts/email/text/default.ctp | 31 +++++++++++++++ 5 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 cake/libs/view/templates/elements/email/html/default.ctp create mode 100644 cake/libs/view/templates/elements/email/text/default.ctp create mode 100644 cake/libs/view/templates/layouts/email/html/default.ctp create mode 100644 cake/libs/view/templates/layouts/email/text/default.ctp diff --git a/cake/libs/view/templates/elements/email/html/default.ctp b/cake/libs/view/templates/elements/email/html/default.ctp new file mode 100644 index 000000000..e18f8200e --- /dev/null +++ b/cake/libs/view/templates/elements/email/html/default.ctp @@ -0,0 +1,31 @@ + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.view.templates.elements.email.html + * @since CakePHP(tm) v 0.10.0.1076 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ +?> + ' . $line . '

'; +endforeach; +?> \ No newline at end of file diff --git a/cake/libs/view/templates/elements/email/text/default.ctp b/cake/libs/view/templates/elements/email/text/default.ctp new file mode 100644 index 000000000..ab9a1ffec --- /dev/null +++ b/cake/libs/view/templates/elements/email/text/default.ctp @@ -0,0 +1,27 @@ + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.view.templates.elements.email.text + * @since CakePHP(tm) v 0.10.0.1076 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ +?> + \ No newline at end of file diff --git a/cake/libs/view/templates/layouts/default.ctp b/cake/libs/view/templates/layouts/default.ctp index e3d987d46..1e8b259e5 100644 --- a/cake/libs/view/templates/layouts/default.ctp +++ b/cake/libs/view/templates/layouts/default.ctp @@ -16,7 +16,7 @@ * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project * @package cake - * @subpackage cake.cake.libs.view.templates.pages + * @subpackage cake.cake.libs.view.templates.layouts * @since CakePHP(tm) v 0.10.0.1076 * @version $Revision$ * @modifiedby $LastChangedBy$ diff --git a/cake/libs/view/templates/layouts/email/html/default.ctp b/cake/libs/view/templates/layouts/email/html/default.ctp new file mode 100644 index 000000000..316e48841 --- /dev/null +++ b/cake/libs/view/templates/layouts/email/html/default.ctp @@ -0,0 +1,39 @@ + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.view.templates.layouts.email.html + * @since CakePHP(tm) v 0.10.0.1076 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ +?> + + + + + <?php echo $title_for_layout;?> + + + + + +

This email was sent using the CakePHP Framework, http://cakephp.org.

+ + diff --git a/cake/libs/view/templates/layouts/email/text/default.ctp b/cake/libs/view/templates/layouts/email/text/default.ctp new file mode 100644 index 000000000..f3a17fcb2 --- /dev/null +++ b/cake/libs/view/templates/layouts/email/text/default.ctp @@ -0,0 +1,31 @@ + + * Copyright 2005-2007, Cake Software Foundation, Inc. + * 1785 E. Sahara Avenue, Suite 490-204 + * Las Vegas, Nevada 89104 + * + * Licensed under The MIT License + * Redistributions of files must retain the above copyright notice. + * + * @filesource + * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. + * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project + * @package cake + * @subpackage cake.cake.libs.view.templates.layouts.email.text + * @since CakePHP(tm) v 0.10.0.1076 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.opensource.org/licenses/mit-license.php The MIT License + */ +?> + + + + +This email was sent using the CakePHP Framework, http://cakephp.org. \ No newline at end of file