source: trunk/template/yoga/include/datepicker.inc.tpl @ 3283

Last change on this file since 3283 was 3283, checked in by plg, 15 years ago

complement to r3282, remove all $Id$ in source code.

  • Property svn:eol-style set to LF
File size: 1.2 KB
Line 
1
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/packed/ui.core.packed.js"}
4{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/packed/ui.datepicker.packed.js"}
5{known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"}
6
7{assign var="datepicker_language" value="template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"}
8
9{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists}
10{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:$datepicker_language}
11{/if}
12
13{html_head}
14<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template-common/lib/ui/theme/ui.datepicker.css">
15{/html_head}
16
17<script type="text/javascript">
18function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date)
19{ldelim}
20  return pwg_common_initialization_datepicker(
21    "{$ROOT_URL}{$themeconf.icon_dir}/datepicker.png",
22    day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date);
23}
24</script>
Note: See TracBrowser for help on using the repository browser.