Changeset 7166


Ignore:
Timestamp:
10/12/10 08:59:53 (9 years ago)
Author:
LucMorizur
Message:

Continue implementation of validity date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/autolog_new.tpl

    r7165 r7166  
    299299    <legend style = "font-weight:bold;">Validité</legend> 
    300300    <span style = "font-weight:bold;">Date de validité&nbsp;: </span> 
    301     <select id = "date_creation_day-13" name = "date_creation_day-13"> 
     301    <select id = "date_creation_day" name = "date_creation_day"> 
    302302      <option value = "0">--</option> 
    303303      <option value = "1" >1</option> 
     
    312312      <option value = "10" >10</option> 
    313313      <option value = "11" >11</option> 
    314       <option value = "12" >12</option> 
     314      <option value = "12" selected = "selected">12</option> 
    315315      <option value = "13" >13</option> 
    316316      <option value = "14" >14</option> 
     
    334334    </select> 
    335335 
    336     <select id = "date_creation_month-13" name = "date_creation_month-13"> 
     336    <select id = "date_creation_month" name = "date_creation_month"> 
    337337      <option label = "------------" value = "0">------------</option> 
    338338      <option label = "Janvier"      value = "1">Janvier</option> 
     
    345345      <option label = "Août"         value = "8">Août</option> 
    346346      <option label = "Septembre"    value = "9">Septembre</option> 
    347       <option label = "Octobre"      value = "10">Octobre</option> 
     347      <option label = "Octobre"      value = "10" selected = "selected">Octobre</option> 
    348348      <option label = "Novembre"     value = "11">Novembre</option> 
    349349      <option label = "Décembre"     value = "12">Décembre</option> 
    350350    </select> 
    351351 
    352     <input id = "date_creation_year-13" name = "date_creation_year-13" type = "text" size = "4" maxlength = "4" value = "2010"> 
    353     <input id = "date_creation_linked_date-13" name = "date_creation_linked_date-13" type = "hidden" size = "10" disabled = "disabled"> 
     352    <input id = "date_creation_year" name = "date_creation_year" type = "text" size = "4" maxlength = "4" value = "2010"> 
     353    {* <!-- date_creation_linked_date représente la date indiquée par les listes déroulantes, et permet de limiter 
     354            le choix dans la date, en l'occurrence à des dates uniquement postérieures (grâce au 6° paramètre de pwg_initialization_datepicker) --> *} 
     355    <input id = "date_creation_linked_date" name = "date_creation_linked_date" type = "hidden" size = "10" disabled = "disabled"> 
    354356    <script type = "text/javascript"> 
    355       pwg_initialization_datepicker("#date_creation_day-13", "#date_creation_month-13", 
    356        "#date_creation_year-13", "#date_creation_linked_date-13", "#date_creation_action_set-13"); 
     357      pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", 
     358       "#date_creation_year", "#date_creation_linked_date", null, "#date_creation_linked_date"); 
    357359    </script> 
    358360  </fieldset> 
Note: See TracChangeset for help on using the changeset viewer.