summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Rehnelt <noreply@maennchen1.de>2020-03-06 13:38:13 +0000
committerRoger Rehnelt <noreply@maennchen1.de>2020-03-06 13:38:13 +0000
commita1b2fb6cf09ea529fce6f7f476e4ada56603c8fc (patch)
tree885b9256da00ba22a8399a4651a7d37a65fed4c0
parent499dd1ca9b7b433de86d5d181a124a10e25a60ab (diff)
Anrede in HTML Mail integriert
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7681 0d5edaf7-2b12-4e95-93f4-047927463d4b
-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>