function theme_tagadelic_list_box in Tagadelic 5
Same name and namespace in other branches
- 6 tagadelic.module \theme_tagadelic_list_box()
- 7 tagadelic.module \theme_tagadelic_list_box()
theme function that renders an entry in tagadelic/list/ views
Parameters
$vocabulary, a full vocabulary object:
$tags, an array with weigthed tag objects:
1 theme call to theme_tagadelic_list_box()
- tagadelic_page_list in ./
tagadelic.module - menu callback renders a tagadelic page with listed items: each voc
File
- ./
tagadelic.module, line 315
Code
function theme_tagadelic_list_box($vocabulary, $tags) {
$content = theme('tagadelic_weighted', $tags);
if ($vocabulary->description) {
$content = theme("box", NULL, $vocabulary->description) . $content;
}
$output .= theme('box', $vocabulary->name, $content);
return $output;
}