Rev | Line | |
---|
[11610] | 1 | {combine_script id='datepicker.js' load='footer' require='jquery.ui.datepicker' path='themes/default/js/datepicker.js'} |
---|
| 2 | |
---|
| 3 | {assign var="datepicker_language" value="themes/default/js/ui/i18n/jquery.ui.datepicker-`$lang_info.code`.js"} |
---|
| 4 | |
---|
| 5 | {if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} |
---|
| 6 | {combine_script id="jquery.ui.datepicker-$lang_info.code" load='footer' path=$datepicker_language} |
---|
| 7 | {/if} |
---|
| 8 | |
---|
| 9 | {combine_css path="themes/default/js/ui/theme/jquery.ui.datepicker.css"} |
---|
| 10 | |
---|
| 11 | {footer_script require='jquery.ui.datepicker,datepicker.js'} |
---|
| 12 | function pwg_initialization_datepicker(day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date) |
---|
| 13 | {ldelim} |
---|
| 14 | return pwg_common_initialization_datepicker( |
---|
| 15 | "{$ICY_PICTURE_MODIFY_PATH}/template/icon/datepicker.png", |
---|
| 16 | day, month, year, linked_date, checked_on_change, min_linked_date, max_linked_date); |
---|
| 17 | }; |
---|
| 18 | {/footer_script} |
---|
Note: See
TracBrowser
for help on using the repository browser.