function theme_taxonomy_list_vocabulary in Taxonomy List 7
Same name and namespace in other branches
- 5.2 taxonomy_list.module \theme_taxonomy_list_vocabulary()
- 5 taxonomy_list.module \theme_taxonomy_list_vocabulary()
- 6.2 taxonomy_list.module \theme_taxonomy_list_vocabulary()
- 6 taxonomy_list.module \theme_taxonomy_list_vocabulary()
Theme the vocabulary.
1 theme call to theme_taxonomy_list_vocabulary()
- taxonomy_list_show in ./
taxonomy_list.module - Show the category list
File
- ./
taxonomy_list.module, line 867 - List all terms in a vocabulary.
Code
function theme_taxonomy_list_vocabulary($variables) {
$vocabulary = $variables['vocabulary'];
$title = $variables['title'];
$format = variable_get('taxonomy_list_filter', variable_get('filter_default_format', 1));
$output = '<div class="taxonomy-list-vocabulary">';
if ($title) {
$output .= '<div class="name">' . check_plain($vocabulary->name) . '</div>';
}
$output .= '<div class="description">' . decode_entities(check_markup($vocabulary->description, $format)) . '</div>';
$output .= '</div>';
return $output;
}