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/history.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/history.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
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} +<script type="text/javascript"> + pwg_initialization_datepicker("select[name=start_day]", "select[name=start_month]", "input[name=start_year]", "input[name=start_linked_date]", null, "input[name=end_linked_date]"); + pwg_initialization_datepicker("select[name=end_day]", "select[name=end_month]", "input[name=end_year]", "input[name=end_linked_date]", "input[name=start_linked_date]", null); +</script> +{/literal} + <div class="titrePage"> <h2>{'History'|@translate} {$TABSHEET_TITLE}</h2> </div> @@ -19,6 +29,7 @@ {html_options options=$month_list selected=$START_MONTH_SELECTED}
</select> <input name="start_year" value="{$START_YEAR}" type="text" size="4" maxlength="4" > + <input name="start_linked_date" type="hidden" size="10" disabled="disabled"/> </li> </ul> <ul> @@ -34,6 +45,7 @@ {html_options options=$month_list selected=$END_MONTH_SELECTED}
</select> <input name="end_year" value="{$END_YEAR}" type="text" size="4" maxlength="4" > + <input name="end_linked_date" type="hidden" size="10" disabled="disabled"/> </li> </ul> |