2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
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 <table class="form-layout">
28 <td><label>{ts}Complete OR Partial Name{/ts}</label><br />
29 {$form.sort_name.html}
32 <label>{ts}Complete OR Partial Email{/ts}</label><br />
36 {$form.uf_group_id.label} {help id="id-search-views"}<br />{$form.uf_group_id.html}
39 {if $form.component_mode}
40 {$form.component_mode.label} {help id="id-display-results"}
42 {$form.component_mode.html}
43 {if $form.display_relationship_type}
44 <span id="crm-display_relationship_type">{$form.display_relationship_type.html}</span>
50 <td class="labels" rowspan="2">
51 <div class="crm-submit-buttons">
52 {include file="CRM/common/formButtons.tpl" location="top" buttonStyle="width:80px; text-align:center;"}
54 <div class="crm-submit-buttons reset-advanced-search">
55 <a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button" title="{ts}Clear all search criteria{/ts}">
56 <span class="icon ui-icon-circle-close"></span>
63 {if $form.contact_type}
64 <td><label>{ts}Contact Type(s){/ts}</label><br />
65 {$form.contact_type.html}
72 <div id='groupselect'><label>{ts}Group(s){/ts} <span class="description">(<a href="#" id='searchbygrouptype'>{ts}search by group type{/ts}</a>)</span></label>
75 <div id='grouptypeselect'>
76 <label>{ts}Group Type(s){/ts} <span class="description"> (<a href="#" id='searchbygroup'>{ts}search by group{/ts}</a>)</span></label>
77 {$form.group_type.html}
79 <script type="text/javascript">
81 function showGroupSearch() {
82 $('#grouptypeselect').hide();
83 $('#groupselect').show();
84 $('#group_type').select2('val', '');
87 function showGroupTypeSearch() {
88 $('#groupselect').hide();
89 $('#grouptypeselect').show();
90 $('#group').select2('val', '');
93 $('#searchbygrouptype').click(showGroupTypeSearch);
94 $('#searchbygroup').click(showGroupSearch);
96 if ($('#group_type').val() ) {
97 showGroupTypeSearch();
111 <td>{$form.operator.label} {help id="id-search-operator"}<br />{$form.operator.html}</td>
113 {if $form.deleted_contacts}{$form.deleted_contacts.html} {$form.deleted_contacts.label}{else} {/if}
117 {if $form.contact_tags}
118 <td><label>{ts}Select Tag(s){/ts}</label>
119 {$form.contact_tags.html}
125 <td colspan="2">{include file="CRM/common/Tagset.tpl"}</td>
127 <td>{$form.tag_search.label} {help id="id-all-tags"}<br />{$form.tag_search.html}</td>
129 <td colspan="2"> </td>
133 {if $form.all_tag_types}
136 {$form.all_tag_types.html} {$form.all_tag_types.label} {help id="id-all-tag-types"}
143 {$form.phone_numeric.label}<br />{$form.phone_numeric.html}
145 <div class="description font-italic">
146 {ts}Punctuation and spaces are ignored.{/ts}
149 <td>{$form.phone_location_type_id.label}<br />{$form.phone_location_type_id.html}</td>
150 <td>{$form.phone_phone_type_id.label}<br />{$form.phone_phone_type_id.html}</td>
154 <table class="form-layout-compressed">
157 {$form.privacy_toggle.html} {help id="id-privacy"}
162 {$form.privacy_options.html}
164 <td style="vertical-align:middle">
165 <div id="privacy-operator-wrapper">{$form.privacy_operator.html} {help id="privacy-operator"}</div>
170 <script type="text/javascript">
171 cj("select#privacy_options").change(function() {
172 if (cj(this).val() && cj(this).val().length > 1) {
173 cj('#privacy-operator-wrapper').show();
175 cj('#privacy-operator-wrapper').hide();
182 {$form.preferred_communication_method.label}<br />
183 {$form.preferred_communication_method.html}<br />
184 <div class="spacer"></div>
185 {$form.email_on_hold.html} {$form.email_on_hold.label}
190 {$form.contact_source.label} {help id="id-source" file="CRM/Contact/Form/Contact"}<br />
191 {$form.contact_source.html}
195 {$form.uf_user.label} {$form.uf_user.html}
196 <div class="description font-italic">
197 {ts 1=$config->userFramework}Does the contact have a %1 Account?{/ts}
204 {$form.job_title.label}<br />
205 {$form.job_title.html}
210 {$form.contact_id.label} {help id="id-internal-id" file="CRM/Contact/Form/Contact"}<br />
211 {$form.contact_id.html}
214 {$form.external_identifier.label} {help id="id-external-id" file="CRM/Contact/Form/Contact"}<br />
215 {$form.external_identifier.html}
218 {$form.preferred_language.label}<br />
219 {$form.preferred_language.html}