function theme_top_searches_block in Top Searches 5
Same name and namespace in other branches
- 6 top_searches.module \theme_top_searches_block()
- 7 top_searches.module \theme_top_searches_block()
1 theme call to theme_top_searches_block()
- top_searches_block in ./
top_searches.module - Implementation of hook_block().
File
- ./
top_searches.module, line 136
Code
function theme_top_searches_block($top_searches) {
$output = '';
foreach ($top_searches as $q) {
// With counters:
//$items[] = l($q->q, "search/node/". $q->q) . ' (' . $q->counter . ')';
// Without counters:
$items[] = l($q->q, "search/node/" . $q->q);
}
return theme('item_list', $items);
}