2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 {capture assign=editTitle}{ts}Edit Search Criteria{/ts}{/capture}
32 <div class="crm-block crm-form-block crm-basic-criteria-form-block">
33 <div class="crm-accordion-wrapper crm-case_search-accordion {if $rows}collapsed{/if}">
34 <div class="crm-accordion-header crm-master-accordion-header">
36 </div><!-- /.crm-accordion-header -->
37 <div class="crm-accordion-body">
38 <div class="crm-section sort_name-section">
40 {$form.sort_name.label}
43 {$form.sort_name.html}
45 <div class="clear"></div>
48 {if $form.contact_type}
49 <div class="crm-section contact_type-section">
51 {$form.contact_type.label}
54 {$form.contact_type.html}
56 <div class="clear"></div>
61 <div class="crm-section group_selection-section">
66 {$form.group.html|crmAddClass:big}
68 <div class="clear"></div>
73 <div class="crm-section tag-section">
78 {$form.tag.html|crmAddClass:medium}
80 <div class="clear"></div>
84 {* Choose regular or 'tall' listing-box class for Group select box based on # of groups. *}
85 {if $form.custom_group|@count GT 8}
86 {assign var="boxClass" value="listing-box-tall"}
88 {assign var="boxClass" value="listing-box"}
90 <div class="crm-section crm-contact-custom-search-multipleValues-form-block-custom_group">
92 {ts}Custom Group(s){/ts}
95 <div class="{$boxClass}">
96 {foreach from=$form.custom_group item="group_val"}
97 <div class="{cycle values="even-row,odd-row"}">
105 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl"}</div>
106 </div><!-- /.crm-accordion-body -->
107 </div><!-- /.crm-accordion-wrapper -->
108 </div><!-- /.crm-form-block -->