{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Callback snippet: On-behalf profile *} {if $snippet and !empty($isOnBehalfCallback)} {include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl" context="front-end"} {* Callback snippet: Load payment processor *} {elseif $snippet} {include file="CRM/Core/BillingBlock.tpl" context="front-end"} {if $is_monetary} {* Put PayPal Express button after customPost block since it's the submit button in this case. *} {if $paymentProcessor.payment_processor_type EQ 'PayPal_Express'}
{assign var=expressButtonName value='_qf_Main_upload_express'}
{ts}Checkout with PayPal{/ts}
{ts}Click the PayPal button to continue.{/ts}
{$form.$expressButtonName.html} Checkout securely. Pay without sharing your financial information.
{/if} {/if} {* Main Form *} {else} {literal} {/literal} {if $action & 1024} {include file="CRM/Contribute/Form/Contribution/PreviewHeader.tpl"} {/if} {include file="CRM/common/TrackingFields.tpl"} {capture assign='reqMark'}*{/capture}
{$intro_text}
{include file="CRM/common/cidzero.tpl"} {if $islifetime or $ispricelifetime }
{ts}You have a current Lifetime Membership which does not need to be renewed.{/ts}
{/if} {if !empty($useForMember)} {include file="CRM/Contribute/Form/Contribution/MembershipBlock.tpl" context="makeContribution"} {else}
{include file="CRM/Price/Form/PriceSet.tpl" extends="Contribution"}
{/if} {if $pledgeBlock} {if $is_pledge_payment}
{$form.pledge_amount.label} *
{$form.pledge_amount.html}
{else}
 
{$form.is_pledge.html}  {if $is_pledge_interval} {$form.pledge_frequency_interval.html}  {/if} {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts}
{/if} {/if} {if $form.is_recur}
 
{$form.is_recur.html} {$form.is_recur.label} {ts}every{/ts} {if $is_recur_interval} {$form.frequency_interval.html} {/if} {if $one_frequency_unit} {$frequency_unit} {else} {$form.frequency_unit.html} {/if} {if $is_recur_installments} {ts}for{/ts} {$form.installments.html} {$form.installments.label} {/if}
{/if} {if $pcpSupporterText}
 
{$pcpSupporterText}
{/if} {assign var=n value=email-$bltID}
{$form.$n.label}
{$form.$n.html}
{if $form.is_for_organization}
 
{$form.is_for_organization.html} {$form.is_for_organization.label}
{/if} {if $is_for_organization}
{include file="CRM/Contribute/Form/Contribution/OnBehalfOf.tpl"}
{/if} {* User account registration option. Displays if enabled for one of the profiles on this page. *} {include file="CRM/common/CMSUser.tpl"} {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl" context="makeContribution"} {if $honor_block_is_active}
{include file="CRM/Contribute/Form/SoftCredit.tpl"}
{include file="CRM/UF/Form/Block.tpl" fields=$honoreeProfileFields mode=8 prefix='honor'}
{/if}
{include file="CRM/UF/Form/Block.tpl" fields=$customPre}
{if $isHonor}
{$form.pcp_display_in_roll.html}   {$form.pcp_display_in_roll.label}
{$form.pcp_is_anonymous.html}
{$form.pcp_roll_nickname.label}
{$form.pcp_roll_nickname.html}
{ts}Enter the name you want listed with this contribution. You can use a nick name like 'The Jones Family' or 'Sarah and Sam'.{/ts}
{$form.pcp_personal_note.label}
{$form.pcp_personal_note.html}
{ts}Enter a message to accompany this contribution.{/ts}
{/if} {if $form.payment_processor.label} {* PP selection only works with JS enabled, so we hide it initially *} {/if} {if $is_pay_later}
{ts}Payment Options{/ts}
 
[x] {$pay_later_text}
{/if}
{* If we have a payment processor, load it - otherwise it happens via ajax *} {if $ppType} {include file="CRM/Contribute/Form/Contribution/Main.tpl" snippet=4} {/if}
{include file="CRM/common/paymentBlock.tpl"}
{include file="CRM/UF/Form/Block.tpl" fields=$customPost}
{if $is_monetary and $form.bank_account_number}
{ts}Agreement{/ts} {ts}Your account data will be used to charge your bank account via direct debit. While submitting this form you agree to the charging of your bank account via direct debit.{/ts}
{/if} {if $isCaptcha} {include file='CRM/common/ReCAPTCHA.tpl'} {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $footer_text} {/if}
{/if} {* jQuery validate *} {* disabled because more work needs to be done to conditionally require credit card fields *} {*include file="CRM/Form/validate.tpl"*}