{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* add/update price set *}
{ts}Use this form to edit the title and group-level help for a set of Price fields.{/ts}
{capture assign="enableComponents"}{crmURL p='civicrm/admin/setting/component' q="reset=1"}{/capture}
{include file="CRM/common/formButtons.tpl" location="top"}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='title' id=$sid}{/if}{$form.title.html}
  {ts}The name of this Price Set{/ts}
{$form.extends.label} {if $extends eq false}
{ts 1=$enableComponents}No Components have been enabled for your site that can be configured with the price sets. Click here if you want to enable CiviEvent/CiviContribute for your site.{/ts}
{else} {$form.extends.html} {/if}
{$form.financial_type_id.label} {$form.financial_type_id.html}  
{$form.help_pre.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='help_pre' id=$sid}{/if}{$form.help_pre.html}  
  {ts}Explanatory text displayed at the beginning of this group of fields.{/ts}
{$form.help_post.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_set' field='help_post' id=$sid}{/if}{$form.help_post.html}
  {ts}Explanatory text displayed below this group of fields.{/ts}
{$form.is_active.label} {$form.is_active.html}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $action eq 2 or $action eq 4} {* Update or View*}

{/if}