X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Ftemplates%2Fmessage_templates%2Fparticipant_confirm_text.tpl;h=dbadd748349a62c264a58bdfeaa1bf56ffec0522;hb=e59fdaad543f0d26b0dd3bd4704b79f2f88ea1f9;hp=cb4795b824f1e028988a3a2aa65c34b28d8754bd;hpb=e68d4035151c218b5e504883725fecd62eaea4ac;p=civicrm-core.git diff --git a/xml/templates/message_templates/participant_confirm_text.tpl b/xml/templates/message_templates/participant_confirm_text.tpl index cb4795b824..dbadd74834 100644 --- a/xml/templates/message_templates/participant_confirm_text.tpl +++ b/xml/templates/message_templates/participant_confirm_text.tpl @@ -1,4 +1,5 @@ -{ts 1=$contact.display_name}Dear %1{/ts}, +{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if} + {if !$isAdditional and $participant.id} =========================================================== @@ -42,19 +43,7 @@ Click this link to go to a web page where you can confirm your registration onli {ts}Participant Role{/ts}: {$participant.role} {if $isShowLocation} -{if $event.location.address.1.name} - -{$event.location.address.1.name} -{/if} -{if $event.location.address.1.street_address}{$event.location.address.1.street_address} -{/if} -{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1} -{/if} -{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2} -{/if} -{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if} -{/if} - +{$event.location.address.1.display|strip_tags:false} {/if}{*End of isShowLocation condition*} {if $event.location.phone.1.phone || $event.location.email.1.email}