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

Last change on this file since 9560 was 9560, checked in by patdenice, 13 years ago

Update jquery ui path in public tpl files.

  • Property svn:eol-style set to LF
File size: 1.2 KB
RevLine 
[2743]1
[8162]2{combine_script id='jquery' load='footer' path='themes/default/js/jquery.min.js'}
[9560]3{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/ui/minified/jquery.ui.core.min.js'}
[9172]4{combine_script id='jquery.ui.datepicker' load='footer' require='jquery.ui' path='themes/default/js/ui/minified/jquery.ui.datepicker.min.js'}
[7975]5{combine_script id='datepicker.js' load='footer' require='jquery.ui.datepicker' path='themes/default/js/datepicker.js'}
[2704]6
[9172]7{assign var="datepicker_language" value="themes/default/js/ui/i18n/jquery.ui.datepicker-`$lang_info.code`.js"}
[2743]8
9{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists}
[8066]10{combine_script id="jquery.ui.datepicker-$lang_info.code" load='footer' path=$datepicker_language}
[2743]11{/if}
12
[9172]13{combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"}
[2704]14
[7975]15{footer_script}
[2704]16function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date)
17{ldelim}
18  return pwg_common_initialization_datepicker(
19    "{$ROOT_URL}{$themeconf.icon_dir}/datepicker.png",
20    day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date);
21}
[7975]22{/footer_script}
Note: See TracBrowser for help on using the repository browser.