2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
26 {* Enduser Tell-a-Friend form. *}
27 {if $status eq 'thankyou' } {* Form has been submitted. *}
28 <div class="crm-section tell_friend_thankyou-section">
32 {* Add button for donor to create their own Personal Campaign page *}
34 <div class="crm-section create_pcp_link-section">
35 <a href="{$linkTextUrl}" title="{$linkText|escape}" class="button"><span>» {$linkText}</span></a>
40 <div class="crm-group tell_friend_form-group">
41 <table class="form-layout-compressed">
45 {if $context EQ 'pcp'}
46 {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}
55 <td class="right font-size12pt">{$form.from_name.label} </td>
56 <td class="font-size12pt">{$form.from_name.html} <{$form.from_email.html}></td>
59 <td class="label font-size12pt">{$form.suggested_message.label}</td>
60 <td>{$form.suggested_message.html}</td>
66 <fieldset class="crm-group tell_friend_emails-group">
67 <legend>{ts}Send to these Friend(s){/ts}</legend>
69 <tr class="columnheader">
70 <td>{ts}First Name{/ts}</td>
71 <td>{ts}Last Name{/ts}</td>
72 <td>{ts}Email Address{/ts}</td>
74 {section name=mail start=1 loop=$mailLimit}
75 {assign var=idx value=$smarty.section.mail.index}
77 <td class="even-row">{$form.friend.$idx.first_name.html}</td>
78 <td class="even-row">{$form.friend.$idx.last_name.html}</td>
79 <td class="even-row">{$form.friend.$idx.email.html}</td>
88 <td>{$form.buttons.html}</td>
95 {if $context EQ 'event'}
96 {capture assign=pageURL}{crmURL p='civicrm/event/info' q="id=`$entityID`&reset=1" a=1 fe=1 h=1}{/capture}
98 {capture assign=pageURL}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$entityID`" a=1 fe=1 h=1}{/capture}
100 {include file="CRM/common/SocialNetwork.tpl" url=$pageURL title=$title pageURL=$pageURL}