aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/picture_modify.tpl
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
committerrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
commite9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch)
treebfba53e0c20492bc5fb485ceadaaff134029419e /admin/template/goto/picture_modify.tpl
parent7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (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/picture_modify.tpl10
1 files changed, 10 insertions, 0 deletions
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}
+<script type="text/javascript">
+ pwg_initialization_datepicker("select[name=date_creation_day]", "select[name=date_creation_month]", "input[name=date_creation_year]", "input[name=date_creation_linked_date]");
+</script>
+{/literal}
+
{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
<script type="text/javascript">
@@ -111,6 +120,7 @@
size="4"
maxlength="4"
value="{$DATE_CREATION_YEAR_VALUE}" />
+ <input name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"/>
</td>
</tr>