use input type=search for search UI

This commit is contained in:
Andrew Dolgov 2007-11-30 09:06:17 +01:00
parent 3b1390d5ea
commit 3dc8ee8410
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@
print "<table width='100%'><tr><td>".__('Search:')."</td><td>";
print "<input name=\"query\" class=\"iedit\"
print "<input name=\"query\" class=\"iedit\" type=\"search\"
onkeypress=\"return filterCR(event, search)\"
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"

View File

@ -743,7 +743,7 @@
}
print "<div class=\"feedEditSearch\">
<input id=\"feed_search\" size=\"20\"
<input id=\"feed_search\" size=\"20\" type=\"search\"
onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
<input type=\"submit\" class=\"button\"
onclick=\"javascript:updateFeedList()\" value=\"".__('Search')."\">

View File

@ -161,7 +161,7 @@ window.onload = init;
<?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
<?php echo __('Search:') ?>
<input name="query"
<input name="query" type="search"
onKeyPress="return filterCR(event, viewCurrentFeed)"
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">