diff --git a/admin/template/goto/element_set_global.tpl b/admin/template/goto/element_set_global.tpl index 3bdf5688c..649948854 100644 --- a/admin/template/goto/element_set_global.tpl +++ b/admin/template/goto/element_set_global.tpl @@ -1,5 +1,13 @@ {* $Id$ *} +{include file='include/datepicker.inc.tpl'} + +{literal} + +{/literal} +

{'Batch management'|@translate}

{$CATEGORIES_NAV}

@@ -136,6 +144,7 @@ size="4" maxlength="4" value="{$DATE_CREATION_YEAR}" /> + diff --git a/admin/template/goto/element_set_unit.tpl b/admin/template/goto/element_set_unit.tpl index 4361efff2..6f2fc5569 100644 --- a/admin/template/goto/element_set_unit.tpl +++ b/admin/template/goto/element_set_unit.tpl @@ -1,4 +1,7 @@ {* $Id$ *} + +{include file='include/datepicker.inc.tpl'} + {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"} diff --git a/admin/template/goto/history.tpl b/admin/template/goto/history.tpl index f3c3575b6..ffbf0994d 100644 --- a/admin/template/goto/history.tpl +++ b/admin/template/goto/history.tpl @@ -1,4 +1,14 @@ {* $Id$ *} + +{include file='include/datepicker.inc.tpl'} + +{literal} + +{/literal} +

{'History'|@translate} {$TABSHEET_TITLE}

@@ -19,6 +29,7 @@ {html_options options=$month_list selected=$START_MONTH_SELECTED} + diff --git a/admin/template/goto/include/datepicker.inc.tpl b/admin/template/goto/include/datepicker.inc.tpl new file mode 100644 index 000000000..8eb7016bd --- /dev/null +++ b/admin/template/goto/include/datepicker.inc.tpl @@ -0,0 +1,124 @@ +{* $Id$ *} +{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.datepicker.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"} + + + +{literal} + +{/literal} + + diff --git a/admin/template/goto/picture_modify.tpl b/admin/template/goto/picture_modify.tpl index a92018732..8f2aacc03 100644 --- a/admin/template/goto/picture_modify.tpl +++ b/admin/template/goto/picture_modify.tpl @@ -1,4 +1,13 @@ {* $Id$ *} + +{include file='include/datepicker.inc.tpl'} + +{literal} + +{/literal} + {known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}