{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Relationship tab within View Contact - browse, and view relationships for a contact *} {if !empty($cdType) } {include file="CRM/Custom/Form/CustomData.tpl"} {elseif $action neq 16} {* add, update or view *} {include file="CRM/Contact/Form/Relationship.tpl"} {else}
{if $permission EQ 'edit'} {/if} {* display current relationships *}

{ts}Current Relationships{/ts}

{include file="CRM/Contact/Page/View/RelationshipSelector.tpl" context="current"}
* {ts}Indicates a permissioned relationship. This contact can be viewed and updated by the other.{/ts}

{* display past relationships *}
{ts}Inactive Relationships{/ts}
{ts}These relationships are Disabled OR have a past End Date.{/ts}
{include file="CRM/Contact/Page/View/RelationshipSelector.tpl" context="past"}
{include file="CRM/common/enableDisableApi.tpl"} {/if} {* close of custom data else*}