diff options
Diffstat (limited to 'modules/search.module')
-rw-r--r-- | modules/search.module | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/search.module b/modules/search.module index a3f1707f3..6f9e68b8d 100644 --- a/modules/search.module +++ b/modules/search.module @@ -11,9 +11,9 @@ function search_help($section = "admin/search/help") { $output .= "<p>The search page allows you to search the web site's content. You can specify multiple words, and they will all be searched for. You can also use wildcards, so 'walk*' will match 'walk', 'walking', 'walker', 'walkable' and so on. Furthermore, searches are not case sensitive so searching for 'walk', 'Walk' or 'WALK' will yield exactly the same results.</p>"; $output .= "<b>Words excluded from the search</b>"; $output .= "<p>Words that frequently occur, typically called 'noise words', are ignored. Example words are 'a', 'at', 'and', 'are', 'as', 'how', 'where', etc. Words shorter than %number letters are also ignored.</p>"; - $output = t($output, array("%number" => variable_get("minimum_word_size", 2) )); + $output = t($output, array("%number" => variable_get("minimum_word_size", 2))); break; - case 'admin/system/modules': + case 'admin/system/modules#description': $output = t("Enables site wide keyword searching."); break; case 'admin/system/modules/search': @@ -23,15 +23,6 @@ function search_help($section = "admin/search/help") { return $output; } -function search_system($field){ - $output = ""; - - if ($field == "description") {$output = search_help("admin/system/modules"); } - else if ($field == "admin_help") {$output = search_help("admin/system/modules/queue"); }; - - return $output; -} - /** * Return an array of valid search access permissions */ |