{* +--------------------------------------------------------------------+ | 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=reminderLink}{crmURL p='civicrm/admin/scheduleReminders' q='reset=1'}{/capture}

 {ts}Membership types are used to categorize memberships. You can define an unlimited number of types. Each type incorporates a 'name' (Gold Member, Honor Society Member...), a description, a minimum fee (can be $0), and a duration (can be 'lifetime'). Each member type is specifically linked to the membership entity (organization) - e.g. Bay Area Chapter.{/ts} {docURL page="user/membership/setup"}

{ts 1=$reminderLink}Configure membership renewal reminders using Schedule Reminders.{/ts} {docURL page="user/email/scheduled-reminders"}

{if $rows}
{strip} {* handle enable/disable actions*} {include file="CRM/common/enableDisableApi.tpl"} {include file="CRM/common/crmeditable.tpl"} {include file="CRM/common/jsortable.tpl"} {foreach from=$rows item=row} {/foreach}
{ts}Membership{/ts} {ts}Period{/ts} {ts}Fixed Start{/ts} {ts}Minimum Fee{/ts} {ts}Duration{/ts} {ts}Auto-renew Option{/ts} {ts}Related{/ts} {ts}Max{/ts} {ts}Visibility{/ts} {ts}Order{/ts} {ts}Enabled?{/ts}
{$row.name} {$row.period_type} {$row.fixed_period_start_day} {$row.minimum_fee|crmMoney} {$row.duration_interval} {$row.duration_unit} {if $row.auto_renew EQ 2}{ts}Required{/ts}{elseif $row.auto_renew EQ 1}{ts}Optional{/ts}{else}{ts}No{/ts}{/if} {$row.relationshipTypeName} {$row.visibility} {$row.order} {if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if} {$row.action|replace:'xx':$row.id} {$row.weight}
{/strip} {if $action ne 1 and $action ne 2} {/if}
{else} {if $action ne 1}
{ts}status{/ts} {capture assign=crmURL}{crmURL p='civicrm/admin/member/membershipType/add' q="action=add&reset=1"}{/capture}{ts 1=$crmURL}There are no membership types entered. You can add one.{/ts}
{/if} {/if}