{* +--------------------------------------------------------------------+ | 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: Load payment processor *} {if $snippet} {include file="CRM/Core/BillingBlock.tpl"}
{* 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_Register_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}
{else} {if $action & 1024} {include file="CRM/Event/Form/Registration/PreviewHeader.tpl"} {/if} {include file="CRM/common/TrackingFields.tpl"} {capture assign='reqMark'}*{/capture}
{* moved to tpl since need to show only for primary participant page *} {if $requireApprovalMsg || $waitlistMsg}
{if $requireApprovalMsg}
{$requireApprovalMsg}
{/if} {if $waitlistMsg}
{$waitlistMsg}
{/if}
{/if} {if $contact_id}
{ts 1=$display_name}Welcome %1{/ts}. ({ts 1=$display_name}Not %1, or want to register a different person{/ts}?)
{/if} {if $event.intro_text}

{$event.intro_text}

{/if} {include file="CRM/common/cidzero.tpl"} {if $pcpSupporterText}
{$pcpSupporterText}
{/if} {if $form.additional_participants.html}
{$form.additional_participants.label}
{$form.additional_participants.html}{if $contact_id || $contact_id == NULL}   ({ts}including yourself{/ts}){/if}
{ts}Fill in your registration information on this page. If you are registering additional people, you will be able to enter their registration information after you complete this page and click "Continue".{/ts}
{/if} {* User account registration option. Displays if enabled for one of the profiles on this page. *} {include file="CRM/common/CMSUser.tpl"} {* Display "Top of page" profile immediately after the introductory text *} {include file="CRM/UF/Form/Block.tpl" fields=$customPre} {if $priceSet} {if ! $quickConfig}
{$event.fee_label}{/if} {include file="CRM/Price/Form/PriceSet.tpl" extends="Event"} {include file="CRM/Price/Form/ParticipantCount.tpl"} {if ! $quickConfig}
{/if} {/if} {if $pcp && $is_honor_roll }
{$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} {/if}
{* If we have a payment processor, load it - otherwise it happens via ajax *} {if $paymentProcessorID or $isBillingAddressRequiredForPayLater} {include file="CRM/Event/Form/Registration/Register.tpl" snippet=4} {/if}
{include file="CRM/common/paymentBlock.tpl"} {include file="CRM/UF/Form/Block.tpl" fields=$customPost} {if $isCaptcha} {include file='CRM/common/ReCAPTCHA.tpl'} {/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $event.footer_text} {/if}
{/if} {literal} {/literal}