Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
fee14197 | 3 | | CiviCRM version 5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
6b83d5bd | 5 | | Copyright CiviCRM LLC (c) 2004-2019 | |
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 | *} | |
7a021772 MWMC |
26 | <div class="crm-accordion-wrapper crm-block crm-form-block crm-event-searchevent-form-block collapsed"> |
27 | <div class="crm-accordion-header"> | |
28 | {ts}Find Events{/ts} | |
29 | </div> | |
30 | <div class="crm-accordion-body"> | |
6a488035 TO |
31 | <table class="form-layout"> |
32 | <tr class="crm-event-searchevent-form-block-title"> | |
51180095 | 33 | <td> |
92164dec | 34 | <label>{$form.title.label}</label> |
51180095 MR |
35 | {$form.title.html|crmAddClass:twenty} |
36 | <div class="description font-italic"> | |
37 | {ts}Complete OR partial Event name.{/ts} | |
38 | </div> | |
6a488035 | 39 | </td> |
7a021772 | 40 | <td><label>{ts}Event Type{/ts}</label> |
157e9eb6 | 41 | {$form.event_type_id.html} |
6a488035 | 42 | </td> |
6a488035 | 43 | </tr> |
7a021772 MWMC |
44 | <tr> |
45 | <td colspan="2"><div style="height: auto; vertical-align: bottom">{$form.eventsByDates.html}</div></td> | |
46 | </tr> | |
6a488035 TO |
47 | <tr> |
48 | <td colspan="2"> | |
49 | <table class="form-layout-compressed" id="id_fromToDates"> | |
7a021772 MWMC |
50 | <tr class=""> |
51 | <td class="crm-event-searchevent-form-block-start_date"> | |
52 | <label>{$form.start_date.label}</label> | |
53 | {$form.start_date.html} | |
54 | </td> | |
55 | <td class="crm-event-searchevent-form-block-end_date"> | |
56 | <label>{$form.end_date.label}</label> | |
57 | {$form.end_date.html} | |
58 | </td> | |
6a488035 | 59 | </tr> |
31037a42 EM |
60 | </table> |
61 | </td></tr> | |
6a488035 TO |
62 | |
63 | {* campaign in event search *} | |
31037a42 | 64 | {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch" |
6a488035 | 65 | campaignTrClass='crm-event-searchevent-form-block-campaign_id' campaignTdClass=''} |
7a021772 | 66 | <td class="right">{include file="CRM/common/formButtons.tpl"}</td> |
6a488035 | 67 | </table> |
7a021772 MWMC |
68 | </div> |
69 | </div> | |
6a488035 TO |
70 | |
71 | {include file="CRM/common/showHide.tpl"} | |
72 | ||
31037a42 | 73 | {literal} |
6a488035 TO |
74 | <script type="text/javascript"> |
75 | if ( document.getElementsByName('eventsByDates')[1].checked ) { | |
7a021772 | 76 | CRM.$('#id_fromToDates').show(); |
6a488035 TO |
77 | } |
78 | </script> | |
31037a42 | 79 | {/literal} |