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">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-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}
14 <table width="500" border="0" cellpadding="0" cellspacing="0" id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left;">
17 <!-- You can add table row(s) here with logo or other header elements -->
20 <!-- BEGIN CONTENT -->
26 <p>{$receipt_text|htmlize}</p>
30 <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}
32 <p>{ts}Please print this confirmation for your records.{/ts}</p>
38 <table width="500" style="border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;">
45 {ts}Contribution Information{/ts}
49 {if $lineItem and $priceSetID}
51 {foreach from=$lineItem item=value key=priceset}
53 <td colspan="2" {$valueStyle}>
54 <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
56 <th>{ts}Item{/ts}</th>
58 <th>{ts}Each{/ts}</th>
59 <th>{ts}Total{/ts}</th>
61 {foreach from=$value item=line}
64 {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:"..."}</div>{/if}
70 {$line.unit_price|crmMoney:$currency}
73 {$line.line_total|crmMoney:$currency}
86 {$amount|crmMoney:$currency}
97 {$amount|crmMoney:$currency} {if $amount_level} - {$amount_level}{/if}
113 {$receive_date|crmDate}
118 {if $is_monetary and $trxn_id}
121 {ts}Transaction #{/ts}
130 {if $contributeMode eq 'notify'}
133 {ts 1=$cancelSubscriptionUrl}This is a recurring contribution. You can modify or cancel future contributions by <a href="%1">logging in to your account</a>.{/ts}
136 {elseif $contributeMode eq 'directIPN' and $receiptFromEmail}
139 {ts 1=$receiptFromEmail}This is a recurring contribution. To modify or cancel future contributions please contact us at %1.{/ts}
145 {if $honor_block_is_active}
152 <td colspan="2" {$labelStyle}>
153 {$honor_prefix} {$honor_first_name} {$honor_last_name}
159 {ts}Honoree Email{/ts}
171 {ts}Personal Campaign Page{/ts}
176 {ts}Display In Honor Roll{/ts}
179 {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}
182 {if $pcp_roll_nickname}
192 {if $pcp_personal_note}
195 {ts}Personal Note{/ts}
204 {if $onBehalfProfile}
207 {$onBehalfProfile_grouptitle}
210 {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}
224 <td colspan="2" {$valueStyle}>
225 {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageId`" a=true fe=1 h=1}{/capture}
226 {include file="CRM/common/SocialNetwork.tpl" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}
231 {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary}
235 {ts}Registered Email{/ts}
239 <td colspan="2" {$valueStyle}>
243 {elseif $amount GT 0}
246 {ts}Billing Name and Address{/ts}
250 <td colspan="2" {$valueStyle}>
252 {$address|nl2br}<br />
259 {if $contributeMode eq 'direct' AND !$is_pay_later AND $amount GT 0}
262 {ts}Credit Card Information{/ts}
266 <td colspan="2" {$valueStyle}>
267 {$credit_card_type}<br />
268 {$credit_card_number}<br />
269 {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}<br />
277 {ts}Premium Information{/ts}
281 <td colspan="2" {$labelStyle}>
311 {$start_date|crmDate}
325 {if $contact_email OR $contact_phone}
327 <td colspan="2" {$valueStyle}>
328 <p>{ts}For information about this premium, contact:{/ts}</p>
330 <p>{$contact_email}</p>
333 <p>{$contact_phone}</p>
338 {if $is_deductible AND $price}
340 <td colspan="2" {$valueStyle}>
341 <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>
350 {$customPre_grouptitle}
353 {foreach from=$customPre item=customValue key=customName}
354 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}
370 {$customPost_grouptitle}
373 {foreach from=$customPost item=customValue key=customName}
374 {if ($trackingFields and ! in_array($customName, $trackingFields)) or ! $trackingFields}