first real commit in standalone repo
This commit is contained in:
25
templates/email/text/backend.php
Normal file
25
templates/email/text/backend.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use Cake\Core\Configure;
|
||||
|
||||
/**
|
||||
* @var \CakeContactUs\Model\Entity\ContactUsFormSubmission $contactUsFormSubmission
|
||||
*/
|
||||
?>
|
||||
<?= __d('cake_contact_us', "A contact us form submission was received at {0}", $contactUsFormSubmission->submitted_at) ?>,
|
||||
|
||||
|
||||
<?= __d('cake_contact_us', 'Name: ') ?><?= h($contactUsFormSubmission->name); ?>
|
||||
|
||||
<?php if (Configure::readOrFail('ContactUs.fields.email') || isset($contactUsFormSubmission->email)) : ?>
|
||||
<?= __d('cake_contact_us', 'Email: ') ?>
|
||||
<?= $contactUsFormSubmission->email; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (Configure::readOrFail('ContactUs.fields.subject') || isset($contactUsFormSubmission->subject)) : ?>
|
||||
<?= __d('cake_contact_us', 'Subject: ') ?>
|
||||
<?= h($contactUsFormSubmission->subject); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?= __d('cake_contact_us', 'Message: ') ?>
|
||||
<?= h($contactUsFormSubmission->message); ?>
|
||||
17
templates/email/text/confirmation.php
Normal file
17
templates/email/text/confirmation.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright 2010 - 2019, Cake Development Corporation (https://www.cakedc.com)
|
||||
*
|
||||
* Licensed under The MIT License
|
||||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @copyright Copyright 2010 - 2018, Cake Development Corporation (https://www.cakedc.com)
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
?>
|
||||
<?= __d('cake_contact_us', "Hi {0}", isset($first_name) ? $first_name : '') ?>,
|
||||
|
||||
<?= __d('cake_contact_us','We have received your message. We will be in touch soon.') ?>
|
||||
|
||||
<?= __d('cake_contact_us', 'Thank you') ?>,
|
||||
|
||||
Reference in New Issue
Block a user