summaryrefslogtreecommitdiffstats
path: root/templates/html/search_functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html/search_functions.php')
-rw-r--r--templates/html/search_functions.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/html/search_functions.php b/templates/html/search_functions.php
index 7374de9..22481db 100644
--- a/templates/html/search_functions.php
+++ b/templates/html/search_functions.php
@@ -7,7 +7,7 @@ function end_form($value)
global $translator;
if ($config['DISABLE_INDEX'] == false)
{
- echo " <input type=\"text\" id=\"MSearchField\" name=\"query\" value=\"$value\" size=\"20\" accesskey=\"S\" onfocus=\"searchBox.OnSearchFieldFocus(true)\" onblur=\"searchBox.OnSearchFieldFocus(false)\"/>\n </form>\n </div><div class=\"right\"></div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n";
+ echo "</div>\n";
}
if ($config['GENERATE_TREEVIEW'])
{
@@ -15,11 +15,6 @@ function end_form($value)
}
}
-function end_page()
-{
- echo "</body></html>";
-}
-
function search_results()
{
global $translator;
@@ -361,6 +356,5 @@ function main()
end_form(preg_replace("/[^a-zA-Z0-9\-\_\.\x80-\xFF]/i", " ", $query ));
// report results to the user
report_results($sorted);
- end_page();
}
?>