{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright (C) 2011 Marty Wright | | Licensed to CiviCRM under the Academic Free License version 3.0. | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is for configuring label formats *}
{ts}You can configure one or more Label Formats for your CiviCRM installation. Label Formats are used when creating mailing labels.{/ts}
{if $action eq 1 or $action eq 2 or $action eq 8 or $action eq 16384} {include file="CRM/Admin/Form/LabelFormats.tpl"} {else} {if $rows}
{strip} {foreach from=$rows item=row} {/foreach}
{ts}Name{/ts} {ts}Used for{/ts} {ts}Order{/ts} {ts}Grouping{/ts} {ts}Default?{/ts} {ts}Reserved?{/ts}
{$row.label} {$row.groupName} {$row.weight} {$row.grouping} {if $row.is_default eq 1}{ts}Default{/ts}{/if}  {if $row.is_reserved eq 1}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}   {$row.action|replace:'xx':$row.id}
{/strip}
{else}
{capture assign=crmURL}{crmURL p='civicrm/admin/labelFormats' q="action=add&reset=1"}{/capture} {ts 1=$crmURL}There are no Label Formats configured. You canadd one.{/ts}
{/if} {/if}