{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing badge layouts *}

{if $action eq 1}{ts}New Badge Layout{/ts}{elseif $action eq 2}{ts}Edit Badge Layout{/ts}{else}{ts}Delete Badge Layout{/ts}{/if}

{include file="CRM/common/formButtons.tpl" location="top"}
{if $action eq 8}
{ts}This may mean the loss of a substantial amount of data, and the action cannot be undone.{/ts} {ts}Do you want to continue?{/ts}
{else}
{$form.title.label} {$form.title.html}
{$form.label_format_name.label} {$form.label_format_name.html} {help id="id-label_format"}
{$form.description.label} {$form.description.html}
{$form.image_1.label}
{$form.image_1.html}
{ts}Click above and select a file by double clicking on it.{/ts}
{$form.width_image_1.html}
{$form.width_image_1.label}
{$form.height_image_1.html}
{$form.height_image_1.label}
{$form.image_2.label}
{$form.image_2.html}
{ts}Click above and select a file by double clicking on it.{/ts}
{$form.width_image_2.html}
{$form.width_image_2.label}
{$form.height_image_2.html}
{$form.height_image_2.label}
{ts}Elements{/ts} {section name='i' start=1 loop=$rowCount} {assign var='rowNumber' value=$smarty.section.i.index} {/section}
{ts}Row{/ts} {ts}Label{/ts} {ts}Font{/ts} {ts}Size{/ts} {ts}Style{/ts} {ts}Alignment{/ts}
#{$rowNumber} {$form.token.$rowNumber.html|crmAddClass:twenty} {$form.font_name.$rowNumber.html} {$form.font_size.$rowNumber.html} {$form.font_style.$rowNumber.html} {$form.text_alignment.$rowNumber.html}
{$form.add_barcode.label} {$form.add_barcode.html}   {ts}of type{/ts}    {$form.barcode_type.html}   {ts}on{/ts}   {$form.barcode_alignment.html}
{$form.is_active.label} {$form.is_active.html}
{$form.is_default.label} {$form.is_default.html}
{$form.is_reserved.label} {$form.is_reserved.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}