source: trunk/admin/template/goto/include/datepicker.inc.tpl @ 2704

Last change on this file since 2704 was 2704, checked in by rub, 16 years ago

jQuery Datepicker:
Move code source to template-common in order to use datepicker on version after butterfly

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1{* $Id: datepicker.inc.tpl 2704 2008-10-10 21:41:07Z rub $ *}
2{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
3{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
4{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.datepicker.packed.js"}
5{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:"template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}
6{known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"}
7
8{html_head}
9<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template-common/lib/ui/ui.datepicker.css">
10{/html_head}
11
12<script type="text/javascript">
13function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date)
14{ldelim}
15  return pwg_common_initialization_datepicker(
16    "{$ROOT_URL}admin/template/{$themeconf.template}/icon/datepicker.png",
17    day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date);
18}
19</script>
Note: See TracBrowser for help on using the repository browser.