source: trunk/themes/default/template/include/datepicker.inc.tpl @ 5123

Last change on this file since 5123 was 5123, checked in by plg, 14 years ago

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1
2{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
3{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
4{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.datepicker.packed.js"}
5{known_script id="datepicker.js" src=$ROOT_URL|@cat:"themes/default/js/datepicker.js"}
6
7{assign var="datepicker_language" value="themes/default/js/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}themes/default/js/ui/themes/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.