Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes compat with OC 3.6 #1

Merged
merged 3 commits into from Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Plugin.php
Expand Up @@ -105,8 +105,8 @@ public function registerComponents() {

public function registerMailTemplates() {
return [
'publipresse.forms::mail.notification' => __('Form submission notification'),
'publipresse.forms::mail.autoresponse' => __('Form submission auto-response'),
'publipresse.forms::mail.notification',
'publipresse.forms::mail.autoresponse',
];
}

Expand Down
3 changes: 2 additions & 1 deletion views/mail/autoresponse.htm
@@ -1,9 +1,10 @@
subject = "Thank you for contacting us!"
description = "Form submission auto-response"
==
Thank you for contacting us! We have received your request and are working on responding to you as soon as possible.
If you have any additional information to add to this case, please reply to this email.
Thanks in advance for your patience and support.
==
<p>Thank you for contacting us! We have received your request and are working on responding to you as soon as possible.</p>
<p>If you have any additional information to add to this case, please reply to this email.</p>
<p>Thanks in advance for your patience and support.</p>
<p>Thanks in advance for your patience and support.</p>
3 changes: 2 additions & 1 deletion views/mail/notification.htm
@@ -1,4 +1,5 @@
subject = "New form submitted"
description = "Form submission notification"
==
Record #{{ id}}
{% for label,value in data %}
Expand Down Expand Up @@ -31,4 +32,4 @@
Ip: {{ ip }}<br />
Date: {{ date }}
</p>
{% endpartial %}
{% endpartial %}