summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-01 17:56:46 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-01 17:56:46 +0000
commit8a491f2ddaa7b0584b8bd2396c299352b79ca80c (patch)
tree4b312b8979c985888a9251f4359e79cdeedce0d9 /modules/search
parentcad09751c84cf8e4ed4f3c2d5ca75eca8598db56 (diff)
downloadbrdo-8a491f2ddaa7b0584b8bd2396c299352b79ca80c.tar.gz
brdo-8a491f2ddaa7b0584b8bd2396c299352b79ca80c.tar.bz2
- Patch #810176 by Jeff Burnz: updated documentation.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/search.api.php b/modules/search/search.api.php
index 21f4174b9..a33bfaf83 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 = '<dl class="search-results">';
+ $output = '<ol class="search-results">';
foreach ($results as $entry) {
$output .= theme('search_result', $entry, $type);
}
- $output .= '</dl>';
+ $output .= '</ol>';
$output .= theme('pager', NULL);
return $output;