aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/search.tpl
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-22 14:29:10 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-22 14:29:10 +0000
commite49879d4b87693d2c3dec1147bdfd9fcb480ab1b (patch)
tree28a375369ee0a47d46ccb37c55d22d545ac763d5 /template/yoga/search.tpl
parentce2e87d4031262e81ff0b41859dd0e283ab25b9e (diff)
- merge trunk r1256:1257 into branch 1.6 (search.tpl)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1258 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/search.tpl')
-rw-r--r--template/yoga/search.tpl14
1 files changed, 9 insertions, 5 deletions
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl
index a871b07f6..b38bb115b 100644
--- a/template/yoga/search.tpl
+++ b/template/yoga/search.tpl
@@ -21,12 +21,16 @@
<!-- END errors -->
<fieldset>
<legend>{lang:Filter}</legend>
- <label>{lang:search_keywords}<input type="text" style="width: 300px" name="search_allwords" size="30" /></label>
+ <label>{lang:search_keywords}
+ <input type="text" style="width: 300px" name="search_allwords" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/>
+ </label>
<label>
<span><input type="radio" name="mode" value="AND" checked="checked" /> {lang:search_mode_and}</span>
<span><input type="radio" name="mode" value="OR" /> {lang:search_mode_or}</span>
</label>
- <label>{lang:search_author}<input type="text" style="width: 300px" name="search_author" size="30" /></label>
+ <label>{lang:search_author}
+ <input type="text" style="width: 300px" name="search_author" size="30" onfocus="this.className='focus';" onblur="this.className='nofocus';"/>
+ </label>
</fieldset>
<fieldset>
<legend>{lang:Search tags}</legend>
@@ -57,7 +61,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">
+ <input name="start_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
</span>
<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>
</label>
@@ -73,7 +77,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">
+ <input name="end_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
</span>
<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>
</label>
@@ -82,7 +86,7 @@
<fieldset>
<legend>{lang:search_options}</legend>
<label>{lang:search_categories}
- <select style="width:200px" name="cat[]" multiple="multiple" size="8">
+ <select style="width:200px" name="cat[]" multiple="multiple" size="8" onfocus="this.className='focus';" onblur="this.className='nofocus';">
<!-- BEGIN category_option -->
<option value="{category_option.VALUE}">{category_option.OPTION}</option>
<!-- END category_option -->