summaryrefslogtreecommitdiffstats
path: root/src/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.php')
-rw-r--r--src/search.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/search.php b/src/search.php
index b908125..dbdbcdc 100644
--- a/src/search.php
+++ b/src/search.php
@@ -288,11 +288,8 @@ function main()
{
$query=$_GET["query"];
}
- echo "<input class=\"search\" type=\"text\" name=\"query\" value=\"$query\" size=\"20\" accesskey=\"s\"/>\n";
- echo "</span>\n";
- echo "</form>\n";
- echo "</div>\n";
- echo "<div class=\"searchresults\">\n";
+ end_form($query);
+ echo "&nbsp;\n<div class=\"searchresults\">\n";
$results = array();
$requiredWords = array();
$forbiddenWords = array();