Changeset 2742 for trunk/template
- Timestamp:
- Oct 15, 2008, 6:51:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/include/datepicker.inc.tpl
r2739 r2742 1 1 {* $Id$ *} 2 {php}3 global $lang_info;4 5 $filename = get_root_url()."template-common/lib/ui/i18n/ui.datepicker-".$lang_info['code'].".js";6 7 $this->assign('exist_jquery_datepicker_lang', file_exists($filename));8 $this->assign('filename_jquery_datepicker_lang', $filename);9 {/php}10 11 2 {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} 12 3 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"} 13 4 {known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.datepicker.packed.js"} 5 {known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:"template-common/lib/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} 14 6 {known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"} 15 16 {if $exist_jquery_datepicker_lang}17 {known_script id="jquery.ui.datepicker-$lang_info.code" src=$filename_jquery_datepicker_lang}18 {/if}19 7 20 8 {html_head}
Note: See TracChangeset
for help on using the changeset viewer.