first real commit in standalone repo

This commit is contained in:
2025-01-09 23:47:18 -08:00
parent 0e8844f47e
commit 9e6ce06a24
30 changed files with 1741 additions and 1 deletions

View 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); ?>

View 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') ?>,