{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $action eq 1 or $action eq 2 or $action eq 8} {* add, update or view *} {include file="CRM/Event/Form/Participant.tpl"} {elseif $action eq 4} {include file="CRM/Event/Form/ParticipantView.tpl"} {else} {if $permission EQ 'edit'}{capture assign=newEventURL}{crmURL p="civicrm/contact/view/participant" q="reset=1&action=add&cid=`$contactId`&context=participant"}{/capture} {/if}

{ts 1=$displayName}This page lists all event registrations for %1 since inception.{/ts} {capture assign="link"}class="action-item" href="{$newEventURL}"{/capture} {if $permission EQ 'edit'}{ts 1=$link}Click Add Event Registration to register this contact for an event.{/ts}{/if} {if $accessContribution and $newCredit} {capture assign=newCreditURL}{crmURL p="civicrm/contact/view/participant" q="reset=1&action=add&cid=`$contactId`&context=participant&mode=live"}{/capture} {capture assign="link"}class="action-item" href="{$newCreditURL}"{/capture} {ts 1=$link}Click Submit Credit Card Event Registration to process a new New Registration on behalf of the participant using their credit card.{/ts} {/if}

{if $action eq 16 and $permission EQ 'edit'} {/if} {if $rows} {include file="CRM/common/pager.tpl" location="top"} {include file="CRM/Event/Form/Selector.tpl"} {include file="CRM/common/pager.tpl" location="bottom"} {else}
{ts}No event registrations have been recorded for this contact.{/ts}
{/if} {/if}