Commit 8a491f2d authored by Dries's avatar Dries
Browse files

- Patch #810176 by Jeff Burnz: updated documentation.

parent cad09751
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment