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

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

change: according to topic:15067, svn:keywords property was removed

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