{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* The name "custom data group" is replaced by "custom data set" *} {if $action eq 1 or $action eq 2 or $action eq 4} {include file="CRM/Custom/Form/Group.tpl"} {elseif $action eq 1024} {include file="CRM/Custom/Form/Preview.tpl"} {elseif $action eq 8} {include file="CRM/Custom/Form/DeleteGroup.tpl"} {else}
{ts}Custom data is stored in custom fields. Custom fields are organized into logically related custom data sets (e.g. Volunteer Info). Use custom fields to collect and store custom data which are not included in the standard CiviCRM forms. You can create one or many sets of custom fields.{/ts} {docURL page="user/organising-your-data/custom-fields"}
{if $rows}
{strip} {* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {include file="CRM/common/crmeditable.tpl"} {foreach from=$rows item=row} {/foreach}
{ts}Set{/ts} {ts}Enabled?{/ts} {ts}Used For{/ts} {ts}Type{/ts} {ts}Order{/ts} {ts}Style{/ts}
{$row.title} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {if $row.extends eq 'Contact'}{ts}All Contact Types{/ts}{else}{$row.extends_display}{/if} {$row.extends_entity_column_value} {$row.weight} {$row.style_display} {$row.action|replace:'xx':$row.id}
{if NOT ($action eq 1 or $action eq 2) } {/if} {/strip}
{else} {if $action ne 1} {* When we are adding an item, we should not display this message *}
{ts}status{/ts}   {capture assign=crmURL}{crmURL p='civicrm/admin/custom/group' q='action=add&reset=1'}{/capture} {ts 1=$crmURL}No custom data groups have been created yet. You can add one.{/ts}
{/if} {/if} {/if}