Last change
on this file since 7975 was
7975,
checked in by rvelices, 13 years ago
|
new template features: combine_script, footer_script and get_combined_scripts
migrated public templates only; need more code doc
|
-
Property svn:eol-style set to
LF
|
File size:
1.2 KB
|
Line | |
---|
1 | |
---|
2 | {combine_script id='jquery' load='footer' path='themes/default/js/jquery.packed.js'} |
---|
3 | {combine_script id='jquery.ui' load='footer' require='jquery' path='themes/default/js/ui/packed/ui.core.packed.js'} |
---|
4 | {combine_script id='jquery.ui.datepicker' load='footer' require='jquery.ui' path='themes/default/js/ui/packed/ui.datepicker.packed.js'} |
---|
5 | {combine_script id='datepicker.js' load='footer' require='jquery.ui.datepicker' path='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 | {combine_script id="jquery.ui.datepicker-$lang_info.code" path=$datepicker_language} |
---|
11 | {/if} |
---|
12 | |
---|
13 | {html_head} |
---|
14 | <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/js/ui/theme/ui.datepicker.css"> |
---|
15 | {/html_head} |
---|
16 | |
---|
17 | {footer_script} |
---|
18 | function 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 | {/footer_script} |
---|
Note: See
TracBrowser
for help on using the repository browser.