2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2020 |
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 <div class="crm-accordion-wrapper crm-block crm-form-block crm-event-searchevent-form-block collapsed">
27 <div class="crm-accordion-header">
30 <div class="crm-accordion-body">
31 <table class="form-layout">
32 <tr class="crm-event-searchevent-form-block-title">
34 <label>{$form.title.label}</label>
35 {$form.title.html|crmAddClass:twenty}
36 <div class="description font-italic">
37 {ts}Complete OR partial Event name.{/ts}
40 <td><label>{ts}Event Type{/ts}</label>
41 {$form.event_type_id.html}
45 <td colspan="2"><div style="height: auto; vertical-align: bottom">{$form.eventsByDates.html}</div></td>
49 <table class="form-layout-compressed" id="id_fromToDates">
51 <td class="crm-event-searchevent-form-block-start_date">
52 <label>{$form.start_date.label}</label>
53 {$form.start_date.html}
55 <td class="crm-event-searchevent-form-block-end_date">
56 <label>{$form.end_date.label}</label>
63 {* campaign in event search *}
64 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
65 campaignTrClass='crm-event-searchevent-form-block-campaign_id' campaignTdClass=''}
66 <td class="right">{include file="CRM/common/formButtons.tpl"}</td>
71 {include file="CRM/common/showHide.tpl"}
74 <script type="text/javascript">
75 if ( document.getElementsByName('eventsByDates')[1].checked ) {
76 CRM.$('#id_fromToDates').show();