Changeset 2680 for trunk/admin/template/goto/element_set_unit.tpl
- Timestamp:
- Oct 7, 2008, 9:18:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/template/goto/element_set_unit.tpl
r2674 r2680 55 55 <label><input type="radio" name="date_creation_action-{$element.ID}" value="set" id="date_creation_action_set-{$element.ID}" /> {'set to'|@translate}</label> 56 56 57 <select onmousedown="document.getElementById('date_creation_action_set-{$element.ID}').checked = true;" name="date_creation_day-{$element.ID}">57 <select id="date_creation_day-{$element.ID}" name="date_creation_day-{$element.ID}"> 58 58 <option value="0">--</option> 59 59 {section name=day start=1 loop=32} … … 61 61 {/section} 62 62 </select> 63 <select onmousedown="document.getElementById('date_creation_action_set-{$element.ID}').checked = true;" name="date_creation_month-{$element.ID}">63 <select id="date_creation_month-{$element.ID}" name="date_creation_month-{$element.ID}"> 64 64 {html_options options=$month_list selected=$element.DATE_CREATION_MONTH} 65 65 </select> 66 <input onmousedown="document.getElementById('date_creation_action_set-{$element.ID}').checked = true;"66 <input id="date_creation_year-{$element.ID}" 67 67 name="date_creation_year-{$element.ID}" 68 68 type="text" … … 70 70 maxlength="4" 71 71 value="{$element.DATE_CREATION_YEAR}" /> 72 <input name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"/>72 <input id="date_creation_linked_date-{$element.ID}" name="date_creation_linked_date-{$element.ID}" type="hidden" size="10" disabled="disabled"/> 73 73 <script type="text/javascript"> 74 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}]");74 pwg_initialization_datepicker("#date_creation_day-{$element.ID}", "#date_creation_month-{$element.ID}", "#date_creation_year-{$element.ID}", "#date_creation_linked_date-{$element.ID}", "#date_creation_action_set-{$element.ID}"); 75 75 </script> 76 76 </td>
Note: See TracChangeset
for help on using the changeset viewer.