From 7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 3 Oct 2001 20:57:01 +0000 Subject: - Improved search architecture derived from Axel's new search patches. (There is room for improvement so let's go from these ... and build on them.) - Removed some $status's by calls to node_status(). --- modules/search.module | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'modules/search.module') diff --git a/modules/search.module b/modules/search.module index 559c4bf51..e047f6ca9 100644 --- a/modules/search.module +++ b/modules/search.module @@ -12,6 +12,7 @@ function search_link($type) { return $links ? $links : array(); } +/* function search_item($item, $type) { $output .= "

"; $output .= " ". $item["title"] ."
"; @@ -20,19 +21,13 @@ function search_item($item, $type) { return $output; } +*/ function search_page() { global $theme, $edit, $type, $keys; if (user_access("search content")) { - /* - ** Verify the user input: - */ - - $type = check_input($type); - $keys = check_input($keys); - /* ** Construct the search form: */ -- cgit v1.2.3