2
@version $Id: calendar.html 9765 2007-12-30 08:21:02Z ircmaxell $
4
@copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
5
@license GNU/GPL, see LICENSE.php
6
Joomla! is free software. This version may have been modified pursuant
7
to the GNU General Public License, and as distributed it includes or
8
is derivative of works licensed under the GNU General Public License or
9
other free or open source software licenses.
10
See COPYRIGHT.php for copyright notices and details.
13
<jtmpl:tmpl name="includeCalendar" useglobals="yes">
14
<link rel="stylesheet" type="text/css" media="all" href="{SITEURL}/includes/js/calendar/calendar-jtmpl.css" title="green" />
15
<script type="text/javascript" src="{SITEURL}/includes/js/calendar/calendar.js"></script>
16
<script type="text/javascript" src="{SITEURL}/includes/js/calendar/lang/calendar-en.js"></script>
17
<script type="text/javascript" src="{SITEURL}/includes/js/calendar/calendar-setup.js"></script>
20
<jtmpl:tmpl name="include-calendar-1.0" useglobals="yes">
21
<link rel="stylesheet" type="text/css" media="all" href="{SITEURL}/includes/js/jscalendar-1.0/calendar-system.css" title="green" />
22
<script type="text/javascript" src="{SITEURL}/includes/js/jscalendar-1.0/calendar_stripped.js"></script>
23
<script type="text/javascript" src="{SITEURL}/includes/js/jscalendar-1.0/lang/calendar-en.js"></script>
24
<script type="text/javascript" src="{SITEURL}/includes/js/jscalendar-1.0/calendar-setup_stripped.js"></script>
27
<jtmpl:tmpl name="calendar-field">
28
<button type="reset" id="trigger_{ID}" class="button">...</button>
29
<script type="text/javascript">
31
inputField : "{ID}", // id of the input field
32
ifFormat : "{FORMAT}", // format of the input field
33
<jtmpl:tmpl type="simplecondition" requiredvars="showstime=true">
34
showsTime : true, // will display a time selector</jtmpl:tmpl>
35
button : "trigger_{ID}", // trigger for the calendar (button ID)
37
step : 1 // show all years in drop-down boxes (instead of every other year as default)