diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/backend.php b/backend.php index 07f6028ed..ed58fcea2 100644 --- a/backend.php +++ b/backend.php @@ -1320,7 +1320,9 @@ $param = $_GET["param"]; if ($id == "quickAddFeed") { - print "Feed URL: <input id=\"qafInput\"> + print "Feed URL: <input + onblur=\"javascript:enableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" + id=\"qafInput\"> <input class=\"button\" type=\"submit\" onclick=\"javascript:qafAdd()\" value=\"Add feed\"> <input class=\"button\" @@ -1352,6 +1354,23 @@ } } + if ($id == "search") { + + print "<input id=\"searchbox\" class=\"extSearch\" + onblur=\"javascript:enableHotkeys()\" onfocus=\"javascript:disableHotkeys()\" + onchange=\"javascript:search()\"> + <select id=\"searchmodebox\"> + <option selected>All feeds</option> + <option>This feed</option> + </select> + <input type=\"submit\" + class=\"button\" onclick=\"javascript:search()\" value=\"Search\"> + <input class=\"button\" + type=\"submit\" onclick=\"javascript:closeDlg()\" + value=\"Close\">"; + + } + } db_close($link); |