$vocabularies = taxonomy_get_vocabularies();
foreach ($vocabularies as $vocab) {
$terms = taxonomy_get_tree($vocab->vid, 0, -1, 1);
foreach($terms as $term){
$items[]= l($term->name, "taxonomy/term/$term->tid");
}
}
if(count($items)) {
return theme('item_list', $items);
}
source
share