From b85eb11e113396490720572d11d30cd83c772ba1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 Jan 2004 18:42:43 +0000 Subject: Patch 5287 by Stefan: multiline help texts should become inside a single $output. --- modules/search/search.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/search/search.module') diff --git a/modules/search/search.module b/modules/search/search.module index 3a3b6695d..8bd9ad261 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -6,11 +6,11 @@ function search_help($section = "admin/help#search") { switch ($section) { case 'admin/help#search': - $output = "Search guidelines"; - $output .= "

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.

"; - $output .= "Words excluded from the search"; - $output .= "

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.

"; - $output = t($output, array("%number" => variable_get("minimum_word_size", 2))); + $output = t(" + Search guidelines +

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.

+ Words excluded from the search +

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.

", array("%number" => variable_get("minimum_word_size", 2))); break; case 'admin/system/modules#description': $output = t("Enables site wide keyword searching."); -- cgit v1.2.3