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