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

Last change on this file since 28806 was 28806, checked in by rvelices, 10 years ago

moved around 100k of javascript from synchronous loading to async... (a lot more could be done...)

  • Property svn:eol-style set to LF
File size: 1.3 KB
Line 
1{if empty($load_mode)}{$load_mode='footer'}{/if}
2{combine_script id='jquery.ui.timepicker-addon' load=$load_mode require='jquery.ui.datepicker,jquery.ui.slider' path="themes/default/js/ui/jquery.ui.timepicker-addon.js"}
3{combine_script id='datepicker' load=$load_mode require='jquery.ui.timepicker-addon' path='admin/themes/default/js/datepicker.js'}
4
5{assign var="datepicker_language" value="themes/default/js/ui/i18n/jquery.ui.datepicker-`$lang_info.code`.js"}
6{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists}
7{combine_script id="jquery.ui.datepicker-$lang_info.code" load=$load_mode require='jquery.ui.datepicker' path=$datepicker_language}
8{/if}
9
10{assign var="timepicker_language" value="themes/default/js/ui/i18n/jquery.ui.timepicker-`$lang_info.code`.js"}
11{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists}
12{combine_script id="jquery.ui.timepicker-$lang_info.code" load=$load_mode require='jquery.ui.timepicker-addon' path=$timepicker_language}
13{/if}
14
15{combine_css path="themes/default/js/ui/theme/jquery.ui.theme.css"}
16{combine_css path="themes/default/js/ui/theme/jquery.ui.slider.css"}
17{combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"}
18{combine_css path="themes/default/js/ui/theme/jquery.ui.timepicker-addon.css"}
Note: See TracBrowser for help on using the repository browser.