From f276f7f95b3f14a1b445929564612717c1a304ae Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 15 Jan 2005 09:03:39 +0000 Subject: - Stripped white-space. --- modules/search.module | 6 +++--- modules/search/search.module | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/search.module b/modules/search.module index 2d197c904..4fafed50a 100644 --- a/modules/search.module +++ b/modules/search.module @@ -104,7 +104,7 @@ function search_menu($may_cache) { */ function search_admin() { if ($_POST) { - if (variable_get('minimum_word_size', 3) != $_POST['edit']['minimum_word_size'] || + if (variable_get('minimum_word_size', 3) != $_POST['edit']['minimum_word_size'] || variable_get('remove_short', 3) != $_POST['edit']['remove_short']) { // Note: ensure logical order of messages system_settings_save(); @@ -125,7 +125,7 @@ function search_admin() { $remaining += $status['remaining']; $total += $status['total']; } - } + } $percentage = ((int)min(100, 100 * ($total - $remaining) / max(1, $total))) . '%'; $status = '

'. t('%percentage of the site has been indexed. There are %count items left to index.', array('%percentage' => $percentage, '%count' => $remaining)) .'

'; $output = form_group('Indexing status', $status); @@ -561,7 +561,7 @@ function search_view() { * HTML indexing mechanism for searching full text efficiently. * * If your module needs to provide a more complicated search form, then you need - * to implement it yourself without hook_search(). In that case, you should + * to implement it yourself without hook_search(). In that case, you should * define it as a local task (tab) under the /search page (e.g. /search/mymodule) * so that users can easily find it. */ diff --git a/modules/search/search.module b/modules/search/search.module index 2d197c904..4fafed50a 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -104,7 +104,7 @@ function search_menu($may_cache) { */ function search_admin() { if ($_POST) { - if (variable_get('minimum_word_size', 3) != $_POST['edit']['minimum_word_size'] || + if (variable_get('minimum_word_size', 3) != $_POST['edit']['minimum_word_size'] || variable_get('remove_short', 3) != $_POST['edit']['remove_short']) { // Note: ensure logical order of messages system_settings_save(); @@ -125,7 +125,7 @@ function search_admin() { $remaining += $status['remaining']; $total += $status['total']; } - } + } $percentage = ((int)min(100, 100 * ($total - $remaining) / max(1, $total))) . '%'; $status = '

'. t('%percentage of the site has been indexed. There are %count items left to index.', array('%percentage' => $percentage, '%count' => $remaining)) .'

'; $output = form_group('Indexing status', $status); @@ -561,7 +561,7 @@ function search_view() { * HTML indexing mechanism for searching full text efficiently. * * If your module needs to provide a more complicated search form, then you need - * to implement it yourself without hook_search(). In that case, you should + * to implement it yourself without hook_search(). In that case, you should * define it as a local task (tab) under the /search page (e.g. /search/mymodule) * so that users can easily find it. */ -- cgit v1.2.3