2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.3 |
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 form and results for Contributions *}
27 {assign var="showBlock" value="'searchForm'"}
28 {assign var="hideBlock" value="'searchForm_show'"}
29 <div class="crm-block crm-form-block crm-contribution-search-form-block">
30 <div class="crm-accordion-wrapper crm-contribution_search_form-accordion {if $rows}collapsed{/if}">
31 <div class="crm-accordion-header crm-master-accordion-header">
32 {ts}Edit Search Criteria{/ts}
33 </div><!-- /.crm-accordion-header -->
34 <div class="crm-accordion-body">
36 <table class="form-layout">
38 <td class="font-size12pt" colspan="2"> {$form.sort_name.label} {$form.sort_name.html|crmAddClass:'twenty'} {$form.buttons.html}
42 {if $form.contact_tags}
43 <td><label>{ts}Contributor Tag(s){/ts}</label>
44 {$form.contact_tags.html}
46 <script type="text/javascript">
48 cj("select#contact_tags").crmasmSelect({
49 addItemTarget: 'bottom',
63 <td><label>{ts}Contributor Group(s){/ts}</label>
66 <script type="text/javascript">
67 cj("select#group").crmasmSelect({
68 addItemTarget: 'bottom',
82 {include file="CRM/Contribute/Form/Search/Common.tpl"}
84 <td colspan="2">{$form.buttons.html}</td>
88 </div><!-- /.crm-accordion-body -->
89 </div><!-- /.crm-accordion-wrapper -->
90 </div><!-- /.crm-form-block -->
91 {if $rowsEmpty || $rows}
92 <div class="crm-content-block">
94 <div class="crm-results-block crm-results-block-empty">
95 {include file="CRM/Contribute/Form/Search/EmptyResults.tpl"}
100 <div class="crm-results-block">
101 {* Search request has returned 1 or more matching rows. *}
102 {* This section handles form elements for action task select and submit *}
103 <div class="crm-search-tasks crm-event-search-tasks">
104 {include file="CRM/common/searchResultTasks.tpl" context="Contribution"}
107 {* This section displays the rows along and includes the paging controls *}
108 <div id="contributionSearch" class="crm-search-results">
109 {include file="CRM/Contribute/Form/Selector.tpl" context="Search"}
111 {* END Actions/Results section *}
118 <script type="text/javascript">
120 cj().crmAccordions();