HTMLInputCoder - Add more variants for encoding arrays
[civicrm-core.git] / xml / templates / message_templates / event_registration_receipt_text.tpl
index f57ff600f4075eb48f6dd52b9c104ef8e2cc2a12..8a58ea90c0fb88426d96b1c731a8d0354b8038e2 100644 (file)
@@ -1,4 +1,5 @@
-Dear {contact.display_name},
+{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
+
 {if $is_pay_later}
   This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.
 {else}