Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-10-26-14-28-29
[civicrm-core.git] / xml / templates / message_templates / participant_confirm_text.tpl
1 {ts 1=$contact.display_name}Dear %1{/ts},
2 {if !$isAdditional and $participant.id}
3
4 ===========================================================
5 {ts}Confirm Your Registration{/ts}
6
7 ===========================================================
8 {capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture}
9 Click this link to go to a web page where you can confirm your registration online:
10 {$confirmUrl}
11 {/if}
12
13 ===========================================================
14 {ts}Event Information and Location{/ts}
15
16 ===========================================================
17 {$event.event_title}
18 {$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}
19 {if $conference_sessions}
20
21
22 {ts}Your schedule:{/ts}
23 {assign var='group_by_day' value='NA'}
24 {foreach from=$conference_sessions item=session}
25 {if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
26 {assign var='group_by_day' value=$session.start_date}
27
28 {$group_by_day|date_format:"%m/%d/%Y"}
29
30
31 {/if}
32 {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
33 {if $session.location} {$session.location}{/if}
34 {/foreach}
35 {/if}
36
37
38 {ts}Participant Role{/ts}: {$participant.role}
39
40 {if $isShowLocation}
41 {if $event.location.address.1.name}
42
43 {$event.location.address.1.name}
44 {/if}
45 {if $event.location.address.1.street_address}{$event.location.address.1.street_address}
46 {/if}
47 {if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}
48 {/if}
49 {if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}
50 {/if}
51 {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}
52 {/if}
53
54 {/if}{*End of isShowLocation condition*}
55
56 {if $event.location.phone.1.phone || $event.location.email.1.email}
57
58 {ts}Event Contacts:{/ts}
59 {foreach from=$event.location.phone item=phone}
60 {if $phone.phone}
61
62 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
63 {/foreach}
64 {foreach from=$event.location.email item=eventEmail}
65 {if $eventEmail.email}
66
67 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
68 {/if}
69
70 {if $event.is_public}
71 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
72 {ts}Download iCalendar File:{/ts} {$icalFeed}
73 {/if}
74
75 {if $contact.email}
76
77 ===========================================================
78 {ts}Registered Email{/ts}
79
80 ===========================================================
81 {$contact.email}
82 {/if}
83
84 {if $register_date}
85 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
86 {/if}
87
88 {ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
89