2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {* Search criteria form elements - Find Contacts *}
28 {* Set title for search criteria accordion *}
29 {if $context EQ 'smog'}
30 {capture assign=editTitle}{ts}Find Contacts within this Group{/ts}{/capture}
31 {elseif $context EQ 'amtg' AND !$rows}
32 {capture assign=editTitle}{ts}Find Contacts to Add to this Group{/ts}{/capture}
34 {capture assign=editTitle}{ts}Edit Search Criteria{/ts}{/capture}
38 <div class="crm-block crm-form-block crm-basic-criteria-form-block">
39 <div class="crm-accordion-wrapper crm-case_search-accordion {if $rows}collapsed{/if}">
40 <div class="crm-accordion-header crm-master-accordion-header">
42 </div><!-- /.crm-accordion-header -->
43 <div class="crm-accordion-body">
44 <div class="crm-section sort_name-section">
46 {$form.sort_name.label}
49 {$form.sort_name.html}
51 <div class="clear"></div>
54 {if $form.contact_type}
55 <div class="crm-section contact_type-section">
57 {$form.contact_type.label}
60 {$form.contact_type.html}
62 <div class="clear"></div>
67 <div class="crm-section group_selection-section">
69 {if $context EQ 'smog'}
70 {$form.group_contact_status.label}
76 {if $context EQ 'smog'}
77 {$form.group_contact_status.html}
79 {$form.group.html|crmAddClass:big}
82 <div class="clear"></div>
87 <div class="crm-section tag-section">
92 {$form.tag.html|crmAddClass:medium}
94 <div class="clear"></div>
97 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
98 </div><!-- /.crm-accordion-body -->
99 </div><!-- /.crm-accordion-wrapper -->
100 </div><!-- /.crm-form-block -->
103 <script type="text/javascript">
105 cj().crmAccordions();