Update copyright date for 2020
[civicrm-core.git] / templates / CRM / Pledge / Form / Search.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
fee14197 3 | CiviCRM version 5 |
6a488035 4 +--------------------------------------------------------------------+
f299f7db 5 | Copyright CiviCRM LLC (c) 2004-2020 |
6a488035
TO
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{* Search form and results for Event Participants *}
27<div class="crm-form-block crm-search-form-block">
28<div class="crm-accordion-wrapper crm-advanced_search_form-accordion {if $rowsEmpty or $rows}collapsed{/if}">
29 <div class="crm-accordion-header crm-master-accordion-header">
30 {ts}Edit Search Criteria{/ts}
31 </div><!-- /.crm-accordion-header -->
32 <div class="crm-accordion-body">
33
34<div id="searchForm">
35 {strip}
36 <table class="form-layout">
0573fd28 37 {include file="CRM/Contact/Form/Search/ContactSearchFields.tpl"}
6a488035
TO
38 {include file="CRM/Pledge/Form/Search/Common.tpl"}
39
40 <tr>
41 <td colspan="2">{$form.buttons.html}</td>
42 </tr>
43 </table>
44 {/strip}
45 </div>
46</div>
47</div>
48</div>
49
50{if $rowsEmpty || $rows }
51
52<div class="crm-content-block">
53
54{if $rowsEmpty}
55 <div class="crm-results-block crm-results-block-empty">
56 {include file="CRM/Pledge/Form/Search/EmptyResults.tpl"}
57 </div>
58{/if}
59
60{if $rows}
61 <div class="crm-results-block">
62
63 {* Search request has returned 1 or more matching rows. *}
64
65 {* This section handles form elements for action task select and submit *}
66 <div class="crm-search-tasks">
67 {include file="CRM/common/searchResultTasks.tpl"}
68 </div>
69 {* This section displays the rows along and includes the paging controls *}
70 <div class="crm-search-results">
71 {include file="CRM/Pledge/Form/Selector.tpl" context="Search"}
72 </div>
73 {* END Actions/Results section *}
74</div>
75{/if}
76</div>
77{/if}