{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {if $products}
{if $context EQ "makeContribution"}
{if $premiumBlock.premiums_intro_title} {$premiumBlock.premiums_intro_title} {/if} {if $premiumBlock.premiums_intro_text}
{$premiumBlock.premiums_intro_text}
{/if} {/if} {if $context EQ "confirmContribution" OR $context EQ "thankContribution"}
{if $premiumBlock.premiums_intro_title} {$premiumBlock.premiums_intro_title} {else} {ts}Your Premium Selection{/ts} {/if}
{/if} {if $preview} {assign var="showSelectOptions" value="1"} {/if} {strip}
{if $showPremium AND !$preview AND $premiumBlock.premiums_nothankyou_position EQ 1}
{$premiumBlock.premiums_nothankyou_label}
{$premiumBlock.premiums_nothankyou_label}
{/if} {foreach from=$products item=row}
{if $row.thumbnail}
{$row.name}
{/if}
{$row.name}
{if $row.image}{$row.name}{/if}
{$row.name}
{ts 1=$row.min_contribution|crmMoney}You must contribute at least %1 to get this item{/ts}
{$row.description}
{if $showSelectOptions } {assign var="pid" value="options_"|cat:$row.id} {if $pid}

{$form.$pid.html}

{/if} {else}

{$row.options}

{/if} {if ( ($premiumBlock.premiums_display_min_contribution AND $context EQ "makeContribution") OR $preview EQ 1) AND $row.min_contribution GT 0 }
{ts 1=$row.min_contribution|crmMoney}Minimum: %1{/ts}
{/if}
{/foreach} {if $showPremium AND !$preview AND $premiumBlock.premiums_nothankyou_position EQ 2}
{$premiumBlock.premiums_nothankyou_label}
{$premiumBlock.premiums_nothankyou_label}
{/if}
{/strip} {if $context EQ "makeContribution"}
{elseif ! $preview} {* Close premium-display-group div for Confirm and Thank-you pages *}
{/if} {if $context EQ "makeContribution"} {literal} {/literal} {else} {literal} {/literal} {/if} {/if}