{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Enduser Tell-a-Friend form. *} {if $status eq 'thankyou' } {* Form has been submitted. *}
{$thankYouText}
{* Add button for donor to create their own Personal Campaign page *} {if $linkText}

{/if} {else}

{if $context EQ 'pcp'} {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} {else} {$intro} {/if}

{$form.from_name.label}   {$form.from_name.html} <{$form.from_email.html}>
{$form.suggested_message.label} {$form.suggested_message.html}
{ts}Send to these Friend(s){/ts} {section name=mail start=1 loop=$mailLimit} {assign var=idx value=$smarty.section.mail.index} {/section}
{ts}First Name{/ts} {ts}Last Name{/ts} {ts}Email Address{/ts}
{$form.friend.$idx.first_name.html} {$form.friend.$idx.last_name.html} {$form.friend.$idx.email.html}
  {$form.buttons.html}
{/if} {if $isShare} {if $context EQ 'event'} {capture assign=pageURL}{crmURL p='civicrm/event/info' q="id=`$entityID`&reset=1" a=1 fe=1 h=1}{/capture} {else} {capture assign=pageURL}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$entityID`" a=1 fe=1 h=1}{/capture} {/if} {include file="CRM/common/SocialNetwork.tpl" url=$pageURL title=$title pageURL=$pageURL} {/if}