function theme_tagadelic_list_box in Tagadelic 6
Same name and namespace in other branches
- 5 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 vocabulary.
File
- ./
tagadelic.module, line 417
Code
function theme_tagadelic_list_box($vocabulary, $tags) {
$output = '';
$content = theme('tagadelic_weighted', $tags);
if ($vocabulary->description) {
$content = theme("box", NULL, $vocabulary->description) . $content;
}
$output .= theme('box', $vocabulary->name, $content);
return $output;
}