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/node.module | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index da96c53d7..0b7923165 100644 --- a/modules/node.module +++ b/modules/node.module @@ -274,21 +274,6 @@ function node_admin_save($edit) { } } -function node_module_find() { - - foreach (module_list() as $name) { - if (module_hook($name, "user")) { - $options .= "\n"; - } - } - - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - - return form($output); -} - function node_edit($node) { $output .= form_item("Title", $node->title); $output .= form_item("Operations", implode("
", node_links($node->nid, $node->type))); @@ -318,8 +303,7 @@ function node_admin() { print node_help(); break; case "search": - print node_module_find($id); - print search_data($keys, $type); + print search_type($type, "admin.php?mod=node&op=search", $keys, 1); break; case "status": print node_edit_status($id); -- cgit v1.2.3