diff options
author | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
commit | e9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch) | |
tree | bfba53e0c20492bc5fb485ceadaaff134029419e /admin/template/goto/element_set_unit.tpl | |
parent | 7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (diff) |
Purpose of datepicker with jQuery.
I will open a french topic on forum to debate of implementation and possibles changes.
git-svn-id: http://piwigo.org/svn/trunk@2632 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/template/goto/element_set_unit.tpl | 7 |
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> |