HTMLInputCoder - Add more variants for encoding arrays
[civicrm-core.git] / xml / templates / message_templates / pcp_supporter_notify_html.tpl
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 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;">
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 {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
25 <p>{ts 1="$contribPageTitle"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>
26 </td>
27 </tr>
28
29 {if $pcpStatus eq 'Approved'}
30
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}Promoting Your Page{/ts}
37 </th>
38 </tr>
39 <tr>
40 <td colspan="2" {$valueStyle}>
41 {if $isTellFriendEnabled}
42 <p>{ts}You can begin your fundraising efforts using our "Tell a Friend" form{/ts}:</p>
43 <ol>
44 <li><a href="{$loginUrl}">{ts}Login to your account{/ts}</a></li>
45 <li><a href="{$pcpTellFriendURL}">{ts}Click this link and follow the prompts{/ts}</a></li>
46 </ol>
47 {else}
48 <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>
49 {/if}
50 </td>
51 </tr>
52 <tr>
53 <th {$headerStyle}>
54 {ts}Managing Your Page{/ts}
55 </th>
56 <tr>
57 <td colspan="2" {$valueStyle}>
58 <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>
59 <ol>
60 <li><a href="{$loginUrl}">{ts}Login to your account{/ts}</a></li>
61 <li><a href="{$pcpInfoURL}">{ts}Go to your page{/ts}</a></li>
62 </ol>
63 <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>
64 </td>
65 </tr>
66 </tr>
67 </table>
68 </td>
69 </tr>
70
71 {elseif $pcpStatus EQ 'Waiting Review'}
72
73 <tr>
74 <td>
75 <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>
76 <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>
77 <p>{ts}You can still preview your page prior to approval{/ts}:</p>
78 <ol>
79 <li><a href="{$loginUrl}">{ts}Login to your account{/ts}</a></li>
80 <li><a href="{$pcpInfoURL}">{ts}Click this link{/ts}</a></li>
81 </ol>
82 </td>
83 </tr>
84
85 {/if}
86
87 {if $pcpNotifyEmailAddress}
88 <tr>
89 <td>
90 <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>
91 </td>
92 </tr>
93 {/if}
94
95 </table>
96 </center>
97
98 </body>
99 </html>