diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-10-03 20:57:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-10-03 20:57:01 +0000 |
commit | 7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946 (patch) | |
tree | be6bef3f6ad0aba1cb9e942f85eaa325e97d7c1a /modules/search.module | |
parent | f7e9bab197205e6fa0d2e220902f5eb6573ac1cb (diff) | |
download | brdo-7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946.tar.gz brdo-7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946.tar.bz2 |
- 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().
Diffstat (limited to 'modules/search.module')
-rw-r--r-- | modules/search.module | 9 |
1 files changed, 2 insertions, 7 deletions
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 .= "<p>"; $output .= " <b><u><a href=\"". $item["link"] ."\">". $item["title"] ."</a></u></b><br />"; @@ -20,6 +21,7 @@ function search_item($item, $type) { return $output; } +*/ function search_page() { global $theme, $edit, $type, $keys; @@ -27,13 +29,6 @@ function search_page() { if (user_access("search content")) { /* - ** Verify the user input: - */ - - $type = check_input($type); - $keys = check_input($keys); - - /* ** Construct the search form: */ |