~dantrevino/ubuntu-us-florida-website/main

« back to all changes in this revision

Viewing changes to libraries/joomla/template/tmpl/calendar.html

  • Committer: Dan Trevnio
  • Date: 2009-03-24 20:37:18 UTC
  • Revision ID: dantrevino@gmail.com-20090324203718-pg0e3lp4ztjjku9o
initialĀ siteĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<jtmpl:comment>
 
2
@version        $Id: calendar.html 9765 2007-12-30 08:21:02Z ircmaxell $
 
3
@package        Joomla
 
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.
 
11
</jtmpl:comment>
 
12
 
 
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>
 
18
</jtmpl:tmpl>
 
19
 
 
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>
 
25
</jtmpl:tmpl>
 
26
 
 
27
<jtmpl:tmpl name="calendar-field">
 
28
        <button type="reset" id="trigger_{ID}" class="button">...</button>
 
29
        <script type="text/javascript">
 
30
                Calendar.setup({
 
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)
 
36
                        singleClick     :       true,
 
37
                        step            :       1                               // show all years in drop-down boxes (instead of every other year as default)
 
38
                });
 
39
        </script>
 
40
</jtmpl:tmpl>