function theme_fuzzysearch_results_title in Fuzzy Search 6
1 theme call to theme_fuzzysearch_results_title()
- theme_fuzzysearch_show_results in ./
fuzzysearch.module - Theme hook for rendering search results.
File
- ./
fuzzysearch.module, line 1014 - Module file for fuzzysearch module.
Code
function theme_fuzzysearch_results_title($results) {
$output .= '<div class="box">';
$output .= '<ul class="search-results">';
foreach ($results as $result) {
$i++;
$odd = $i % 2 ? 'odd' : 'even';
$output .= '<li>' . l($result->title, drupal_get_path_alias('node/' . $result->nid)) . '</li>';
}
$output .= '</ul></div>';
return $output;
}