Skip to content
Snippets Groups Projects
Commit d8431890 authored by Paul Ilea's avatar Paul Ilea
Browse files

[TASK] Remove Mail Template Registrations

parent af396ea5
No related branches found
No related tags found
1 merge request!7Featture forms integration
<?php
/***************************************************************
* Copyright notice
*
* (c] sgalinski Internet Services (https://www.sgalinski.de]
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option] any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
return [
'extension_key' => 'sg_mail',
'template_key' => 'contact_admin',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.contact_admin.description',
'markers' => [
[
'marker' => 'name',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Max Mustermann',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.name',
],
[
'marker' => 'email',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'max.mustermann@info.de',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.email',
],
[
'marker' => 'message',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => ' ',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.message',
]
]
];
<?php
/***************************************************************
* Copyright notice
*
* (c] sgalinski Internet Services (https://www.sgalinski.de]
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option] any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
return [
'extension_key' => 'sg_mail',
'template_key' => 'contact_user',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.contact_user.description',
'markers' => [
[
'marker' => 'name',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Max Mustermann',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.name',
],
[
'marker' => 'email',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'max.mustermann@info.de',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.email',
],
[
'marker' => 'message',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => ' ',
'description' => 'LLL:EXT:sg_mail/Resources/Private/Language/locallang.xlf:mail.marker.message',
]
]
];
......@@ -363,34 +363,6 @@ Die Templates declined und approved der Extension sg_comments sind für alle Dom
<source>List of templates</source>
<target>Liste aller templates</target>
</trans-unit>
<trans-unit id="mail.contact_admin.description" approved="yes">
<source>E-Mail to the Website admin when sending a contact form</source>
<target>E-Mail an den Website Admin bei einer Kontaktanfrage</target>
</trans-unit>
<trans-unit id="mail.contact_admin.subject" approved="yes">
<source>A new contact request</source>
<target>Eine neue Kontaktanfrage</target>
</trans-unit>
<trans-unit id="mail.contact_user.description" approved="yes">
<source>An E-Mail to the website user after submitting the contact form</source>
<target>Eine E-Mail an einen Website Benutzer nach einer Kontaktanfrage</target>
</trans-unit>
<trans-unit id="mail.contact_user.subject" approved="yes">
<source>Your contact request</source>
<target>Ihre Kontaktanfrage</target>
</trans-unit>
<trans-unit id="mail.marker.email" approved="yes">
<source>E-Mail</source>
<target>E-Mail</target>
</trans-unit>
<trans-unit id="mail.marker.message" approved="yes">
<source>Message</source>
<target>Die Nachricht des Kontaktformulars</target>
</trans-unit>
<trans-unit id="mail.marker.name" approved="yes">
<source>Name</source>
<target>Name</target>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr" approved="yes">
<source>Mail Templates</source>
<target>Mail-Templates</target>
......
......@@ -268,27 +268,6 @@ The templates declined and approved of the sg_comments extension are blacklisted
<trans-unit id="configuration.templateList">
<source>List of templates</source>
</trans-unit>
<trans-unit id="mail.contact_admin.description">
<source>E-Mail to the Website admin when sending a contact form</source>
</trans-unit>
<trans-unit id="mail.contact_admin.subject">
<source>A new contact request</source>
</trans-unit>
<trans-unit id="mail.contact_user.description">
<source>An E-Mail to the website user after submitting the contact form</source>
</trans-unit>
<trans-unit id="mail.contact_user.subject">
<source>Your contact request</source>
</trans-unit>
<trans-unit id="mail.marker.email">
<source>E-Mail</source>
</trans-unit>
<trans-unit id="mail.marker.message">
<source>Message</source>
</trans-unit>
<trans-unit id="mail.marker.name">
<source>Name</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Mail Templates</source>
</trans-unit>
......
New Contact Request!
Name: {name}
Email: {email}
Message: {message}
Your Request
Name: {name}
Email: {email}
Your Message: {message}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment