aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/element_set_unit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto/element_set_unit.tpl')
-rw-r--r--admin/template/goto/element_set_unit.tpl7
1 files changed, 7 insertions, 0 deletions
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"}
<script type="text/javascript">
@@ -75,6 +78,10 @@
size="4"
maxlength="4"
value="{$element.DATE_CREATION_YEAR}" />
+ <input name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"/>
+ <script type="text/javascript">
+ pwg_initialization_datepicker("select[name=date_creation_day-{$element.ID}]", "select[name=date_creation_month-{$element.ID}]", "input[name=date_creation_year-{$element.ID}]", "input[name=date_creation_linked_date-{$element.ID}]");
+ </script>
</td>
</tr>