From 8a491f2ddaa7b0584b8bd2396c299352b79ca80c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 1 Jun 2010 17:56:46 +0000 Subject: [PATCH] - Patch #810176 by Jeff Burnz: updated documentation. --- modules/search/search.api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/search/search.api.php b/modules/search/search.api.php index 21f4174b943..a33bfaf8396 100644 --- a/modules/search/search.api.php +++ b/modules/search/search.api.php @@ -218,7 +218,7 @@ function hook_search_execute($keys = NULL) { * its search results, which is otherwise themed using theme('search_results'). * * Note that by default, theme('search_results') and theme('search_result') - * work together to create a definition list (DL). So your hook_search_page() + * work together to create an ordered list (OL). So your hook_search_page() * implementation should probably do this as well. * * @see search-result.tpl.php, search-results.tpl.php @@ -231,12 +231,12 @@ function hook_search_execute($keys = NULL) { * a pager included. */ function hook_search_page($results) { - $output = '
'; + $output = '
    '; foreach ($results as $entry) { $output .= theme('search_result', $entry, $type); } - $output .= '
'; + $output .= ''; $output .= theme('pager', NULL); return $output;