aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/template/goto/include/datepicker.inc.tpl14
1 files changed, 1 insertions, 13 deletions
diff --git a/admin/template/goto/include/datepicker.inc.tpl b/admin/template/goto/include/datepicker.inc.tpl
index 71669fde0..812bf9632 100644
--- a/admin/template/goto/include/datepicker.inc.tpl
+++ b/admin/template/goto/include/datepicker.inc.tpl
@@ -1,22 +1,10 @@
{* $Id$ *}
-{php}
- global $lang_info;
-
- $filename = get_root_url()."template-common/lib/ui/i18n/ui.datepicker-".$lang_info['code'].".js";
-
- $this->assign('exist_jquery_datepicker_lang', file_exists($filename));
- $this->assign('filename_jquery_datepicker_lang', $filename);
-{/php}
-
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.datepicker.packed.js"}
+{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"}
{known_script id="datepicker.js" src=$ROOT_URL|@cat:"template-common/datepicker.js"}
-{if $exist_jquery_datepicker_lang}
-{known_script id="jquery.ui.datepicker-$lang_info.code" src=$filename_jquery_datepicker_lang}
-{/if}
-
{html_head}
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}template-common/lib/ui/ui.datepicker.css">
{/html_head}