{* +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {capture assign=managePremiumsURL}{crmURL p='civicrm/admin/contribute/managePremiums' q="reset=1"}{/capture}

{if $action eq 2 }{ts}Add Products to This Page{/ts} {elseif $action eq 1024}{ts}Preview{/ts}{else} {ts}Remove Products from this Page{/ts}{/if}

{if $action eq 1024} {ts}This is a preview of this product as it will appear on your Contributions page(s).{/ts} {else} {ts}Use this form to select a premium to be offered on this Online Contribution Page.{/ts} {/if}
{if $action eq 8}
{ts}Are you sure you want to remove this premium product from this Contribution page?{/ts}
{elseif $action eq 1024} {include file="CRM/Contribute/Form/Contribution/PremiumBlock.tpl"} {else}
{$form.product_id.label}{$form.product_id.html}
{ts 1=$managePremiumsURL}Pick a premium to include on this Contribution Page. Use Manage Premiums to create or enable additional premium choices for your site.{/ts}
{$form.financial_type_id.label} {if !$financialType } {capture assign=ftUrl}{crmURL p='civicrm/admin/financial/financialType' q="reset=1"}{/capture} {ts 1=$ftUrl}There are no financial types configured with linked 'Cost of Sales Premiums' and 'Premiums Inventory Account' accounts. If you want to generate accounting transactions which track the cost of premiums used click here to configure financial types and accounts.{/ts} {else} {$form.financial_type_id.html}{help id="id-financial_type-product"} {/if}
{$form.weight.label}{$form.weight.html}
{ts}Weight controls the order that premiums are displayed on the Contribution Page.{/ts}
{/if} {if $action ne 4}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{else}
{include file="CRM/common/formButtons.tpl"}
{/if} {* $action ne view *}