use input type=search for search UI
This commit is contained in:
parent
3b1390d5ea
commit
3dc8ee8410
|
@ -138,7 +138,7 @@
|
||||||
|
|
||||||
print "<table width='100%'><tr><td>".__('Search:')."</td><td>";
|
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)\"
|
onkeypress=\"return filterCR(event, search)\"
|
||||||
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
onchange=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
||||||
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
onkeyup=\"toggleSubmitNotEmpty(this, 'search_submit_btn')\"
|
||||||
|
|
|
@ -743,7 +743,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<div class=\"feedEditSearch\">
|
print "<div class=\"feedEditSearch\">
|
||||||
<input id=\"feed_search\" size=\"20\"
|
<input id=\"feed_search\" size=\"20\" type=\"search\"
|
||||||
onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
|
onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
|
||||||
<input type=\"submit\" class=\"button\"
|
<input type=\"submit\" class=\"button\"
|
||||||
onclick=\"javascript:updateFeedList()\" value=\"".__('Search')."\">
|
onclick=\"javascript:updateFeedList()\" value=\"".__('Search')."\">
|
||||||
|
|
|
@ -161,7 +161,7 @@ window.onload = init;
|
||||||
<?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
|
<?php if (get_pref($link, 'ENABLE_SEARCH_TOOLBAR')) { ?>
|
||||||
|
|
||||||
<?php echo __('Search:') ?>
|
<?php echo __('Search:') ?>
|
||||||
<input name="query"
|
<input name="query" type="search"
|
||||||
onKeyPress="return filterCR(event, viewCurrentFeed)"
|
onKeyPress="return filterCR(event, viewCurrentFeed)"
|
||||||
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
|
onblur="javascript:enableHotkeys();" onfocus="javascript:disableHotkeys();">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue