summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-07 18:16:41 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-07 18:16:41 +0000
commit22c889e7c05b1c2dd98ad5e6b3547234a3f6596f (patch)
tree8b63c79053762af3284384a7e8c54a2d3e9b0d45 /modules/search/search.module
parentfbc674f14301fd92f97f2506a72c22b7d51c1c43 (diff)
downloadbrdo-22c889e7c05b1c2dd98ad5e6b3547234a3f6596f.tar.gz
brdo-22c889e7c05b1c2dd98ad5e6b3547234a3f6596f.tar.bz2
- Help system improvements: eliminated the _system hook. Patch by Michael.
- Bloggerapi module fixes. Patch by Kjartan. - Coding style fixes. Patch by Michael.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module13
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index a3f1707f3..6f9e68b8d 100644
--- a/modules/search/search.module
+++ b/modules/search/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
*/