Merge pull request #1 from civicrm/master
[civicrm-core.git] / templates / CRM / Event / Form / Search.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
2c4c49ca 3 | CiviCRM version 4.7 |
6a488035 4 +--------------------------------------------------------------------+
fa938177 5 | Copyright CiviCRM LLC (c) 2004-2016 |
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">
38 <tr class="crm-event-search-form-block-sort_name">
39 <td class="font-size12pt" colspan="2">
40 {$form.sort_name.label}&nbsp;&nbsp;{$form.sort_name.html|crmAddClass:'twenty'}&nbsp;&nbsp;&nbsp;{$form.buttons.html}
41 </td>
42 </tr>
01b1add5
MM
43 {if $form.deleted_contacts}
44 <tr class="crm-event-search-form-block-deleted_contacts">
45 <td colspan="2">
46 {$form.deleted_contacts.html}&nbsp;&nbsp;{$form.deleted_contacts.label}
47 </td>
48 </tr>
49 {/if}
6a488035
TO
50
51 {include file="CRM/Event/Form/Search/Common.tpl"}
52
53 <tr>
54 <td colspan="2">{include file="CRM/common/formButtons.tpl"}</td>
55 </tr>
56 </table>
57 {/strip}
58</div>
59</div>
60</div>
61</div>
62{if $rowsEmpty|| $rows}
63<div class="crm-block crm-content-block">
64{if $rowsEmpty}
65 <div class="crm-results-block crm-results-block-empty">
66 {include file="CRM/Event/Form/Search/EmptyResults.tpl"}
67 </div>
68{/if}
69
70{if $rows}
71<div class="crm-results-block">
72 {* Search request has returned 1 or more matching rows. *}
73 {* This section handles form elements for action task select and submit *}
74 <div class="crm-search-tasks crm-event-search-tasks">
75 {include file="CRM/common/searchResultTasks.tpl" context='Event'}
76 </div>
77 {* This section displays the rows along and includes the paging controls *}
78 <div id='participantSearch' class="crm-event-search-results">
79 {include file="CRM/Event/Form/Selector.tpl" context="Search"}
80 </div>
81 {* END Actions/Results section *}
82</div>
83{/if}
84
85</div>
86{/if}