2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
8 +--------------------------------------------------------------------+
10 {* Enduser Tell-a-Friend form. *}
11 {if $status eq 'thankyou' } {* Form has been submitted. *}
12 <div class="crm-section tell_friend_thankyou-section">
16 {* Add button for donor to create their own Personal Campaign page *}
18 <div class="crm-section create_pcp_link-section">
19 <a href="{$linkTextUrl}" title="{$linkText|escape}" class="button"><span><i class="crm-i fa-chevron-right" aria-hidden="true"></i> {$linkText}</span></a>
24 <div class="crm-group tell_friend_form-group">
25 <table class="form-layout-compressed">
29 {if $context EQ 'pcp'}
30 {ts 1=$pcpTitle}Spread the word about this fundraising page (%1). Add your personal message below. A link to the fundraising page will be automatically included in the email.{/ts}
39 <td class="right font-size12pt">{$form.from_name.label} </td>
40 <td class="font-size12pt">{$form.from_name.html} <{$form.from_email.html}></td>
43 <td class="label font-size12pt">{$form.suggested_message.label}</td>
44 <td>{$form.suggested_message.html}</td>
50 <fieldset class="crm-group tell_friend_emails-group">
51 <legend>{ts}Send to these Friend(s){/ts}</legend>
53 <tr class="columnheader">
54 <td>{ts}First Name{/ts}</td>
55 <td>{ts}Last Name{/ts}</td>
56 <td>{ts}Email Address{/ts}</td>
58 {section name=mail start=1 loop=$mailLimit}
59 {assign var=idx value=$smarty.section.mail.index}
61 <td class="even-row">{$form.friend.$idx.first_name.html}</td>
62 <td class="even-row">{$form.friend.$idx.last_name.html}</td>
63 <td class="even-row">{$form.friend.$idx.email.html}</td>
72 <td>{$form.buttons.html}</td>
79 {if $context EQ 'event'}
80 {capture assign=pageURL}{crmURL p='civicrm/event/info' q="id=`$entityID`&reset=1" a=1 fe=1 h=1}{/capture}
82 {capture assign=pageURL}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$entityID`" a=1 fe=1 h=1}{/capture}
84 {include file="CRM/common/SocialNetwork.tpl" url=$pageURL title=$title pageURL=$pageURL}