Ignore:
Timestamp:
Oct 1, 2008, 10:39:06 PM (16 years ago)
Author:
rub
Message:

Purpose of datepicker with jQuery.
I will open a french topic on forum to debate of implementation and possibles changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/element_set_unit.tpl

    r2614 r2632  
    11{* $Id$ *}
     2
     3{include file='include/datepicker.inc.tpl'}
     4
    25{known_script id="jquery.growfield" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.growfield.packed.js"}
    36
     
    7679               maxlength="4"
    7780               value="{$element.DATE_CREATION_YEAR}" />
     81        <input name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"/>
     82        <script type="text/javascript">
     83          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}]");
     84        </script>
    7885      </td>
    7986    </tr>
Note: See TracChangeset for help on using the changeset viewer.