summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
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;