Changeset 1257 for trunk/template


Ignore:
Timestamp:
Apr 22, 2006, 4:27:36 PM (19 years ago)
Author:
chrisaga
Message:
  • improve : search.tpl, onfocus and onblur added
File:
1 edited

Legend:

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

    r1255 r1257  
    2222<fieldset>
    2323  <legend>{lang:Filter}</legend>
    24   <label>{lang:search_keywords}<input type="text" style="width: 300px" name="search_allwords" size="30" /></label>
     24  <label>{lang:search_keywords}
     25    <input type="text" style="width: 300px" name="search_allwords" size="30"  onfocus="this.className='focus';" onblur="this.className='nofocus';"/>
     26  </label>
    2527  <label>
    2628    <span><input type="radio" name="mode" value="AND" checked="checked" /> {lang:search_mode_and}</span>
    2729    <span><input type="radio" name="mode" value="OR" /> {lang:search_mode_or}</span>
    2830  </label>
    29   <label>{lang:search_author}<input type="text" style="width: 300px" name="search_author" size="30" /></label>
     31  <label>{lang:search_author}
     32    <input type="text" style="width: 300px" name="search_author" size="30"  onfocus="this.className='focus';" onblur="this.className='nofocus';"/>
     33  </label>
    3034</fieldset>
    3135<fieldset>
     
    5862        <!-- END start_month -->
    5963      </select>
    60       <input name="start_year" type="text" size="4" maxlength="4">
     64      <input name="start_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    6165    </span>
    6266    <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};">{lang:today}</a>
     
    7478        <!-- END end_month -->
    7579      </select>
    76       <input name="end_year" type="text" size="4" maxlength="4">
     80      <input name="end_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    7781    </span>
    7882    <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};">{lang:today}</a>
     
    8387  <legend>{lang:search_options}</legend>
    8488  <label>{lang:search_categories}
    85     <select style="width:200px" name="cat[]" multiple="multiple" size="8">
     89    <select style="width:200px" name="cat[]" multiple="multiple" size="8" onfocus="this.className='focus';" onblur="this.className='nofocus';">
    8690      <!-- BEGIN category_option -->
    8791      <option value="{category_option.VALUE}">{category_option.OPTION}</option>
Note: See TracChangeset for help on using the changeset viewer.