Merge pull request #5667 from JKingsnorth/CRM-16328
[civicrm-core.git] / templates / CRM / Member / Form / Search / Common.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <tr>
27 <td><label>{ts}Membership Type(s){/ts}</label><br />
28 <div class="listing-box">
29 {foreach from=$form.member_membership_type_id item="membership_type_val"}
30 <div class="{cycle values='odd-row,even-row'}">
31 {$membership_type_val.html}
32 </div>
33 {/foreach}
34 </div>
35 </td>
36 <td><label>{ts}Membership Status{/ts}</label><br />
37 <div class="listing-box">
38 {foreach from=$form.member_status_id item="membership_status_val"}
39 <div class="{cycle values='odd-row,even-row'}">
40 {$membership_status_val.html}
41 </div>
42 {/foreach}
43 </div>
44 </td>
45 </tr>
46
47 <tr>
48 <td>
49 {$form.member_source.label}
50 <br />{$form.member_source.html}
51 <p>
52 {$form.member_test.label} {help id="is-test" file="CRM/Contact/Form/Search/Advanced"} &nbsp;{$form.member_test.html}
53 </p>
54 </td>
55 <td>
56 <p>
57 {$form.member_is_primary.label}
58 {help id="id-member_is_primary" file="CRM/Member/Form/Search.hlp"}
59 {$form.member_is_primary.html}
60 </p>
61 <p>
62 {$form.member_pay_later.label}&nbsp;{$form.member_pay_later.html}
63 </p>
64 <p>
65 {$form.member_auto_renew.label}&nbsp;{$form.member_auto_renew.html}
66 </p>
67 </td>
68 </tr>
69
70 <tr><td><label>{ts}Member Since{/ts}</label></td></tr>
71 <tr>
72 {include file="CRM/Core/DateRange.tpl" fieldName="member_join_date" from='_low' to='_high'}
73 </tr>
74
75 <tr><td><label>{ts}Start Date{/ts}</label></td></tr>
76 <tr>
77 {include file="CRM/Core/DateRange.tpl" fieldName="member_start_date" from='_low' to='_high'}
78 </tr>
79
80 <tr><td><label>{ts}End Date{/ts}</label></td></tr>
81 <tr>
82 {include file="CRM/Core/DateRange.tpl" fieldName="member_end_date" from='_low' to='_high'}
83 </tr>
84
85 {* campaign in membership search *}
86 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
87 campaignTrClass='' campaignTdClass=''}
88
89 {if $membershipGroupTree}
90 <tr>
91 <td colspan="4">
92 {include file="CRM/Custom/Form/Search.tpl" groupTree=$membershipGroupTree showHideLinks=false}
93 </td>
94 </tr>
95 {/if}