'contactId' => $contactId,
'tokenContext' => ['participantId' => $participantId],
'tplParams' => [
- 'contact' => $contactDetails,
- 'domain' => $domainValues,
'participant' => $participantValues,
'event' => $eventDetails,
'paidEvent' => $eventDetails['is_monetary'] ?? NULL,
'isShowLocation' => $eventDetails['is_show_location'] ?? NULL,
'isAdditional' => $participantValues['registered_by_id'],
- 'isExpired' => $mailType == 'Expired',
- 'isConfirm' => $mailType == 'Confirm',
+ 'isExpired' => $mailType === 'Expired',
+ 'isConfirm' => $mailType === 'Confirm',
'checksumValue' => $checksumValue,
],
'from' => $receiptFrom,
['name' => 'participant_cancelled', 'type' => 'html'],
],
],
+
+ [
+ 'version' => '5.44.alpha1',
+ 'upgrade_descriptor' => ts('Use domain and contact tokens instead of smarty values'),
+ 'label' => ts('Participant Expired'),
+ 'templates' => [
+ ['name' => 'participant_expired', 'type' => 'text'],
+ ['name' => 'participant_expired', 'type' => 'html'],
+ ],
+ ],
+ [
+ 'version' => '5.44.alpha1',
+ 'upgrade_descriptor' => ts('Use domain and contact tokens instead of smarty values'),
+ 'label' => ts('Participant Confirmed'),
+ 'templates' => [
+ ['name' => 'participant_confirm', 'type' => 'text'],
+ ['name' => 'participant_confirm', 'type' => 'html'],
+ ],
+ ],
];
}
<tr>
<td>
- {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
+ {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
<p>{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}</p>
</td>
</tr>
</tr>
{/if}
- {if $contact.email}
+ {if '{contact.email}'}
<tr>
<th {$headerStyle}>
{ts}Registered Email{/ts}
</tr>
<tr>
<td colspan="2" {$valueStyle}>
- {$contact.email}
+ {contact.email}
</td>
</tr>
{/if}
{/if}
<tr>
<td colspan="2" {$valueStyle}>
- <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
+ <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
</td>
</tr>
-{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
+{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if}
{ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}
{ts}Download iCalendar File:{/ts} {$icalFeed}
{/if}
-{if $contact.email}
+{if '{contact.email}'}
===========================================================
{ts}Registered Email{/ts}
===========================================================
-{$contact.email}
+{contact.email}
{/if}
{if $register_date}
{ts}Registration Date{/ts}: {$participant.register_date|crmDate}
{/if}
-{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
+{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}
<tr>
<td>
- {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
+ {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}<p>{$greeting},</p>{/if}
<p>{ts 1=$event.event_title}Your pending event registration for %1 has expired
because you did not confirm your registration.{/ts}</p>
- <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions
+ <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions
or want to inquire about reinstating your registration for this event.{/ts}</p>
</td>
</tr>
{/foreach}
{/if}
- {if $contact.email}
+ {if '{contact.email}'}
<tr>
<th {$headerStyle}>
{ts}Registered Email{/ts}
</tr>
<tr>
<td colspan="2" {$valueStyle}>
- {$contact.email}
+ {contact.email}
</td>
</tr>
{/if}
<tr>
<td>
- <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
+ <p>{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>
</td>
</tr>
-{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
+{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if}
{ts 1=$event.event_title}Your pending event registration for %1 has expired
because you did not confirm your registration.{/ts}
-{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions
+{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions
or want to inquire about reinstating your registration for this event.{/ts}
===========================================================
{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
{/if}
-{if $contact.email}
+{if '{contact.email}'}
===========================================================
{ts}Registered Email{/ts}
===========================================================
-{$contact.email}
+{contact.email}
{/if}
{if $register_date}
{ts}Registration Date{/ts}: {$participant.register_date|crmDate}
{/if}
-{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
+{ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}