{* +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ | 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 !empty($useForMember) AND !$is_quick_config}
{$form.selectMembership.$pid.html} | {else}{/if} |
{$row.name}
{if ($membershipBlock.display_min_fee AND $context EQ "makeContribution") AND $row.minimum_fee GT 0 }
{if $is_separate_payment OR ! $form.amount.label}
- {$row.minimum_fee|crmMoney}
{else}
{ts 1=$row.minimum_fee|crmMoney}(contribute at least %1 to be eligible for this membership){/ts}
{/if}
{/if}
{$row.description} |
{* Check if there is an existing membership of this type (current_membership NOT empty) and if the end-date is prior to today. *}
{if array_key_exists( 'current_membership', $row ) AND $context EQ "makeContribution" }
{if $row.current_membership}
{if $row.current_membership|date_format:"%Y%m%d" LT $smarty.now|date_format:"%Y%m%d"}
{ts 1=$row.current_membership|crmDate 2=$row.name}Your %2 membership expired on %1.{/ts} {else} {ts 1=$row.current_membership|crmDate 2=$row.name}Your %2 membership expires on %1.{/ts} {/if} {else} {ts 1=$row.name}Your %1 membership does not expire (you do not need to renew that membership).{/ts} {/if} {else} {/if} |
{$form.auto_renew.html} | {$form.auto_renew.label} | ||
{$form.selectMembership.no_thanks.html} | {ts}No thank you{/ts} |