{capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture}
{capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
-<center>
<table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;">
<!-- BEGIN HEADER -->
<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>
<tr>
<td colspan="2" {$valueStyle}>
{$event.event_title}<br />
- {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
+ {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
</td>
</tr>
<tr>
</tr>
{/if}
- {if $event.location.phone.1.phone || $event.location.email.1.email}
+ {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}
<tr>
<td colspan="2" {$labelStyle}>
{ts}Event Contacts:{/ts}
{/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>
</table>
-</center>
</body>
</html>