{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* Custom Data form*} {if $formEdit} {if $cd_edit.help_pre}
{$cd_edit.help_pre}
{/if} {foreach from=$cd_edit.fields item=element key=field_id} {include file="CRM/Custom/Form/CustomField.tpl"} {/foreach}
{if $cd_edit.help_post}
{$cd_edit.help_post}
{/if} {if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } {/if} {else} {foreach from=$groupTree item=cd_edit key=group_id name=custom_sets}
{if !$skipTitle}
{$cd_edit.title}
{/if}
{if $cd_edit.help_pre}
{$cd_edit.help_pre}
{/if} {foreach from=$cd_edit.fields item=element key=field_id} {include file="CRM/Custom/Form/CustomField.tpl"} {/foreach}
{if $cd_edit.help_post}
{$cd_edit.help_post}
{/if}
{if $cd_edit.is_multiple and ( ( $cd_edit.max_multiple eq '' ) or ( $cd_edit.max_multiple > 0 and $cd_edit.max_multiple >= $cgCount ) ) } {if $skipTitle} {* We don't yet support adding new records in inline-edit forms *}
{ts 1=$cd_edit.title}Click "Edit Contact" to add more %1 records{/ts}
{else} {/if} {/if}
{/foreach} {/if} {include file="CRM/Form/attachmentjs.tpl"}