Changeset 2690 for trunk/template


Ignore:
Timestamp:
Oct 8, 2008, 9:54:57 PM (16 years ago)
Author:
rub
Message:

Add id to date controls in order to prepare Datepicker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/search.tpl

    r2632 r2690  
    6262    <li><label>{'search_date_from'|@translate}</label></li>
    6363    <li>
    64       <select name="start_day">
     64      <select id="start_day" name="start_day">
    6565          <option value="0">--</option>
    6666        {section name=day start=1 loop=32}
     
    6868        {/section}
    6969      </select>
    70       <select name="start_month">
     70      <select id="start_month" name="start_month">
    7171        {html_options options=$month_list selected=$START_MONTH_SELECTED}
    7272      </select>
    73       <input name="start_year" type="text" size="4" maxlength="4" >
    74       <input name="start_linked_dates" type="hidden" size="10" disabled="disabled"/>
     73      <input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
     74      <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled"/>
    7575    </li>
    7676    <li>
     
    8181    <li><label>{'search_date_to'|@translate}</label></li>
    8282    <li>
    83       <select name="end_day">
     83      <select id="end_day" name="end_day">
    8484          <option value="0">--</option>
    8585        {section name=day start=1 loop=32}
     
    8787        {/section}
    8888      </select>
    89       <select name="end_month">
     89      <select id="end_month" name="end_month">
    9090        {html_options options=$month_list selected=$END_MONTH_SELECTED}
    9191      </select>
    92       <input name="end_year" type="text" size="4" maxlength="4" >
    93       <input name="end_linked_dates" type="hidden" size="10" disabled="disabled"/>
     92      <input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
     93      <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled"/>
    9494    </li>
    9595    <li>
Note: See TracChangeset for help on using the changeset viewer.