summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mailtemplates/html/kundenmail.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/mailtemplates/html/kundenmail.phtml b/views/mailtemplates/html/kundenmail.phtml
index 4288984..a7bb1f9 100644
--- a/views/mailtemplates/html/kundenmail.phtml
+++ b/views/mailtemplates/html/kundenmail.phtml
@@ -3,10 +3,13 @@
/* Wichtig, da die Module sonst kein HTML zurückgeben */
$this->htmlMail = true;
+ $arPflicht = $this->loadPflichtFeldDaten();
+ $arTitle = explode('|', $arPflicht['anrede_auswahl']);
+
include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml');
?>
-<p><?php echo wpsg_translate(__('Hallo #1# #2#,', 'wpsg'), $this->view['basket']['checkout']['vname'], $this->view['basket']['checkout']['name']); ?></p>
+<p><?php echo wpsg_translate(__('Hallo #1# #2# #3#,', 'wpsg'), @$arTitle[$this->view['basket']['checkout']['title']], $this->view['basket']['checkout']['vname'], $this->view['basket']['checkout']['name']); ?></p>
<p><?php echo __('Vielen Dank für Ihre Bestellung!', 'wpsg'); ?></p>