diff --git a/Classes/Service/MailTemplateService.php b/Classes/Service/MailTemplateService.php index fc54a447985197813132877e74b46626878ced87..224f1794718fea74a49da69a09547c084ccc2de9 100644 --- a/Classes/Service/MailTemplateService.php +++ b/Classes/Service/MailTemplateService.php @@ -853,9 +853,8 @@ class MailTemplateService { } $templateDirectory .= '/'; - $templatePath = ExtensionManagementUtility::extPath( - $storeTemplateExtension - ) . self::DEFAULT_TEMPLATE_PATH . $templateDirectory; + $templatePath = ExtensionManagementUtility::extPath($storeTemplateExtension) . self::DEFAULT_TEMPLATE_PATH + . $templateDirectory; if ($configArray['template_path']) { $templatePath = $configArray[$templateKey]; @@ -926,7 +925,7 @@ class MailTemplateService { $allMarker .= $key . ': ' . $value . PHP_EOL; } elseif (\is_array($value)) { foreach ($value as $innerKey => $innerValue) { - $allMarker .= $key . ': ' . $innerValue . PHP_EOL; + $allMarker .= $innerKey . ': ' . $innerValue . PHP_EOL; } } elseif (\is_bool($value)) { $valueAsString = $value ? 'true' : 'false'; diff --git a/Classes/XClass/Form/FormEditorController.php b/Classes/XClass/Form/FormEditorController.php index 7b3818bbb579e8b9ce3d41b61f1291f64bfca192..6e9969afa12fb79a884610fd5848a6013d2a5770 100644 --- a/Classes/XClass/Form/FormEditorController.php +++ b/Classes/XClass/Form/FormEditorController.php @@ -177,7 +177,7 @@ class FormEditorController extends \TYPO3\CMS\Form\Controller\FormEditorControll foreach ($renderables as $element) { $markerName = $element['identifier']; // if markerName is explicitly set, override the registered identifier - if(isset($element['properties']['markerName']) && $element['properties']['markerName'] !== '') { + if (isset($element['properties']['markerName']) && $element['properties']['markerName'] !== '') { $markerName = $element['properties']['markerName']; } diff --git a/Configuration/MailTemplates/Default.html b/Configuration/MailTemplates/Default.html new file mode 100644 index 0000000000000000000000000000000000000000..f8663358b012bcbbbc15b90b3daf3e298db6376d --- /dev/null +++ b/Configuration/MailTemplates/Default.html @@ -0,0 +1 @@ +{all_fields}