Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
3 | <head> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
5 | <title></title> | |
6 | </head> | |
7 | <body> | |
8 | ||
9 | {capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} | |
10 | {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} | |
11 | {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture} | |
12 | ||
13 | <center> | |
14 | <table width="620" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;"> | |
15 | ||
16 | <!-- BEGIN HEADER --> | |
17 | <!-- You can add table row(s) here with logo or other header elements --> | |
18 | <!-- END HEADER --> | |
19 | ||
20 | <!-- BEGIN CONTENT --> | |
21 | ||
22 | <tr> | |
23 | <td> | |
24 | <p>{ts 1=$contact.display_name}Dear %1{/ts},</p> | |
25 | <p>{ts 1=$event.event_title}Your pending event registration for %1 has expired | |
26 | because you did not confirm your registration.{/ts}</p> | |
27 | <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions | |
28 | or want to inquire about reinstating your registration for this event.{/ts}</p> | |
29 | </td> | |
30 | </tr> | |
31 | <tr> | |
32 | <td> | |
33 | <table style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;"> | |
34 | <tr> | |
35 | <th {$headerStyle}> | |
36 | {ts}Event Information and Location{/ts} | |
37 | </th> | |
38 | </tr> | |
39 | <tr> | |
40 | <td colspan="2" {$valueStyle}> | |
41 | {$event.event_title}<br /> | |
42 | {$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} | |
43 | </td> | |
44 | </tr> | |
45 | <tr> | |
46 | <td {$labelStyle}> | |
47 | {ts}Participant Role{/ts}: | |
48 | </td> | |
49 | <td {$valueStyle}> | |
50 | {$participant.role} | |
51 | </td> | |
52 | </tr> | |
53 | ||
54 | {if $isShowLocation} | |
55 | <tr> | |
56 | <td colspan="2" {$valueStyle}> | |
57 | {if $event.location.address.1.name} | |
58 | {$event.location.address.1.name}<br /> | |
59 | {/if} | |
60 | {if $event.location.address.1.street_address} | |
61 | {$event.location.address.1.street_address}<br /> | |
62 | {/if} | |
63 | {if $event.location.address.1.supplemental_address_1} | |
64 | {$event.location.address.1.supplemental_address_1}<br /> | |
65 | {/if} | |
66 | {if $event.location.address.1.supplemental_address_2} | |
67 | {$event.location.address.1.supplemental_address_2}<br /> | |
68 | {/if} | |
69 | {if $event.location.address.1.city} | |
70 | {$event.location.address.1.city} {$event.location.address.1.postal_code} | |
71 | {if $event.location.address.1.postal_code_suffix} | |
72 | - {$event.location.address.1.postal_code_suffix} | |
73 | {/if} | |
74 | {/if} | |
75 | </td> | |
76 | </tr> | |
77 | {/if} | |
78 | ||
79 | {if $event.location.phone.1.phone || $event.location.email.1.email} | |
80 | <tr> | |
81 | <td colspan="2" {$labelStyle}> | |
82 | {ts}Event Contacts:{/ts} | |
83 | </td> | |
84 | </tr> | |
85 | {foreach from=$event.location.phone item=phone} | |
86 | {if $phone.phone} | |
87 | <tr> | |
88 | <td {$labelStyle}> | |
89 | {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if} | |
90 | </td> | |
91 | <td {$valueStyle}> | |
92 | {$phone.phone} | |
93 | </td> | |
94 | </tr> | |
95 | {/if} | |
96 | {/foreach} | |
97 | {foreach from=$event.location.email item=eventEmail} | |
98 | {if $eventEmail.email} | |
99 | <tr> | |
100 | <td {$labelStyle}> | |
101 | {ts}Email{/ts} | |
102 | </td> | |
103 | <td {$valueStyle}> | |
104 | {$eventEmail.email} | |
105 | </td> | |
106 | </tr> | |
107 | {/if} | |
108 | {/foreach} | |
109 | {/if} | |
110 | ||
111 | {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} | |
112 | <tr> | |
113 | <td colspan="2" {$valueStyle}> | |
114 | <a href="{$icalFeed}">{ts}Download iCalendar File{/ts}</a> | |
115 | </td> | |
116 | </tr> | |
117 | ||
118 | {if $contact.email} | |
119 | <tr> | |
120 | <th {$headerStyle}> | |
121 | {ts}Registered Email{/ts} | |
122 | </th> | |
123 | </tr> | |
124 | <tr> | |
125 | <td colspan="2" {$valueStyle}> | |
126 | {$contact.email} | |
127 | </td> | |
128 | </tr> | |
129 | {/if} | |
130 | ||
131 | {if $register_date} | |
132 | <tr> | |
133 | <td {$labelStyle}> | |
134 | {ts}Registration Date{/ts} | |
135 | </td> | |
136 | <td {$valueStyle}> | |
137 | {$participant.register_date|crmDate} | |
138 | </td> | |
139 | </tr> | |
140 | {/if} | |
141 | ||
142 | </table> | |
143 | </td> | |
144 | </tr> | |
145 | ||
146 | <tr> | |
147 | <td> | |
148 | <p>{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p> | |
149 | </td> | |
150 | </tr> | |
151 | ||
152 | </table> | |
153 | </center> | |
154 | ||
155 | </body> | |
156 | </html> |