{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $action & 1024} {include file="CRM/Event/Form/Registration/PreviewHeader.tpl"} {/if} {include file="CRM/common/TrackingFields.tpl"}
{* Don't use "normal" thank-you message for Waitlist and Approval Required registrations - since it will probably not make sense for those situations. dgg *} {if $event.thankyou_text AND (not $isOnWaitlist AND not $isRequireApproval)}

{$event.thankyou_text}

{/if} {* Show link to Tell a Friend (CRM-2153) *} {if $friendText}

{/if} {* Add button for donor to create their own Personal Campaign page *} {if $pcpLink}

{/if}
{if $isOnWaitlist}

{ts}You have been added to the WAIT LIST for this event.{/ts} {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}

{elseif $isRequireApproval}

{ts}Your registration has been submitted.{/ts} {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}

{elseif $is_pay_later and $paidEvent and !$isAmountzero}
{$pay_later_receipt}
{if $is_email_confirm}

{ts 1=$email}An email with event details has been sent to %1.{/ts}

{/if} {* PayPal_Standard sets contribution_mode to 'notify'. We don't know if transaction is successful until we receive the IPN (payment notification) *} {elseif $contributeMode EQ 'notify' and $paidEvent}

{ts 1=$paymentProcessor.name}Your registration payment has been submitted to %1 for processing. Please print this page for your records.{/ts}

{if $is_email_confirm}

{ts 1=$email}A registration confirmation email will be sent to %1 once the transaction is processed successfully.{/ts}

{/if} {else}

{ts}Your registration has been processed successfully. Please print this page for your records.{/ts}

{if $is_email_confirm}

{ts 1=$email}A registration confirmation email has also been sent to %1{/ts}

{/if} {/if}
{ts}Event Information{/ts}
{include file="CRM/Event/Form/Registration/EventInfoBlock.tpl" context="ThankYou"}
{if $paidEvent && !$isRequireApproval && !$isOnWaitlist}
{$event.fee_label}
{if $lineItem} {include file="CRM/Price/Page/LineItem.tpl" context="Event"} {elseif $amount || $amount == 0}
{foreach from= $finalAmount item=amount key=level}
{$amount.amount|crmMoney}  {$amount.label}
{/foreach}
{if $totalTaxAmount}
{ts}Tax Total{/ts}:  {$totalTaxAmount|crmMoney}
{/if} {if $totalAmount}
{ts}Event Total{/ts}:  {$totalAmount|crmMoney}
{if $hookDiscount.message}
({$hookDiscount.message})
{/if} {/if} {/if} {if $receive_date}
{ts}Transaction Date{/ts}: {$receive_date|crmDate}
{/if} {if $contributeMode ne 'notify' AND $trxn_id}
{ts}Transaction #{/ts}: {$trxn_id}
{/if}
{elseif $participantInfo}
{ts}Additional Participant Email(s){/ts}
{foreach from=$participantInfo item=mail key=no} {$mail}
{/foreach}
{/if} {if $event.participant_role neq 'Attendee' and $defaultRole}
{ts}Participant Role{/ts}
{$event.participant_role}
{/if} {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"} {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
{ts}Billing Name and Address{/ts}
{$billingName}
{$address|nl2br}
{/if} {if $contributeMode eq 'direct' and $paidEvent and ! $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
{ts}Credit Card Information{/ts}
{$credit_card_type}
{$credit_card_number}
{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}
{/if} {if $event.thankyou_footer_text} {/if} {if $event.is_public } {include file="CRM/Event/Page/iCalLinks.tpl"} {/if} {if $event.is_share} {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture} {include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl} {/if}