Update EventFees.tpl
[civicrm-core.git] / templates / CRM / Event / Form / SearchEvent.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
39de6fd5 3 | CiviCRM version 4.6 |
6a488035 4 +--------------------------------------------------------------------+
819d0d41 5 | Copyright CiviCRM LLC (c) 2004-2014 |
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<div class="crm-block crm-form-block crm-event-searchevent-form-block">
27 <h3>{ts}Find Events{/ts}</h3>
28 <table class="form-layout">
29 <tr class="crm-event-searchevent-form-block-title">
30 <td>{$form.title.html|crmAddClass:twenty}
31 <div class="description font-italic">
32 {ts}Complete OR partial Event name.{/ts}
33 </div>
34 <div style="height: auto; vertical-align: bottom">{$form.eventsByDates.html}</div>
35 </td>
36 <td rowspan="2"><label>{ts}Event Type{/ts}</label>
157e9eb6 37 {$form.event_type_id.html}
6a488035 38 </td>
31037a42 39 <td class="right" rowspan="2">&nbsp;{include file="CRM/common/formButtons.tpl"}</td>
6a488035 40 </tr>
31037a42 41
6a488035
TO
42 <tr>
43 <td colspan="2">
44 <table class="form-layout-compressed" id="id_fromToDates">
45 <tr class="crm-event-searchevent-form-block-start_date">
46 <td class="label">{$form.start_date.label}</td>
47 <td>{include file="CRM/common/jcalendar.tpl" elementName=start_date}</td>
48 </tr>
49 <tr class="crm-event-searchevent-form-block-end_date" >
50 <td class="label">{$form.end_date.label}</td>
31037a42 51 <td>{include file="CRM/common/jcalendar.tpl" elementName=end_date}</td>
6a488035 52 </tr>
31037a42
EM
53 </table>
54 </td></tr>
6a488035
TO
55
56 {* campaign in event search *}
31037a42 57 {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignContext="componentSearch"
6a488035
TO
58 campaignTrClass='crm-event-searchevent-form-block-campaign_id' campaignTdClass=''}
59
60 </table>
61</div>
62
63{include file="CRM/common/showHide.tpl"}
64
31037a42 65{literal}
6a488035
TO
66<script type="text/javascript">
67if ( document.getElementsByName('eventsByDates')[1].checked ) {
a294f3e5 68 cj('#id_fromToDates').show();
6a488035
TO
69}
70</script>
31037a42 71{/literal}