diff options
author | chrisaga <chrisaga@piwigo.org> | 2006-07-22 09:21:40 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2006-07-22 09:21:40 +0000 |
commit | e3c4d79f5be8d732185c151f9ac84ff0ddb51166 (patch) | |
tree | 192dd18d159e705c5998dda7a8f09ad15fce1112 /template/yoga/search.tpl | |
parent | a15839b18305b53d9767dd58ae03b1e6d690ac67 (diff) |
fix bugs 244: different display of checkbox in IE/firefox and 484: Missing onfocus/onblur
in some user section *.tpl and many admin section *.tpl
handle FORM elements with a behaviour (inputfix.htc) in IE
the behaviour sets onfocus and onblur events too (no longer needed in *.tpl)
other browsers use css selector :focus and [type=___]
git-svn-id: http://piwigo.org/svn/trunk@1491 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/search.tpl')
-rw-r--r-- | template/yoga/search.tpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 1c18b6a72..e893d6276 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -22,7 +22,7 @@ <fieldset> <legend>{lang:Filter}</legend> <label>{lang:search_keywords} - <input type="text" style="width: 300px" name="search_allwords" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/> + <input type="text" style="width: 300px" name="search_allwords" size="30" /> </label> <ul> <li><label> @@ -33,7 +33,7 @@ </label></li> </ul> <label>{lang:search_author} - <input type="text" style="width: 300px" name="search_author" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/> + <input type="text" style="width: 300px" name="search_author" size="30" /> </label> </fieldset> @@ -70,7 +70,7 @@ <option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option> <!-- END start_month --> </select> - <input name="start_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input name="start_year" type="text" size="4" maxlength="4" > </li> <li> <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};return false;">{lang:today}</a> @@ -89,7 +89,7 @@ <option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option> <!-- END end_month --> </select> - <input name="end_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';"> + <input name="end_year" type="text" size="4" maxlength="4" > </li> <li> <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};return false;">{lang:today}</a> @@ -100,7 +100,7 @@ <fieldset> <legend>{lang:search_options}</legend> <label>{lang:search_categories} - <select class="categoryList" name="cat[]" multiple="multiple" onfocus="this.className='categoryList focus';" onblur="this.className='categoryList nofocus';"> + <select class="categoryList" name="cat[]" multiple="multiple" > <!-- BEGIN category_option --> <option value="{category_option.VALUE}">{category_option.OPTION}</option> <!-- END category_option --> |