}
function node($node, $main) {
- $output .= "<b>". check_output($node->title) ."</b> by ". format_name($node) ."<br />";
+ if (function_exists("taxonomy_node_get_terms")) {
+ foreach (taxonomy_node_get_terms($node->nid) as $term) {
+ $terms[] = l($term->name, array("or" => $term->tid), "index");
+ }
+ }
+
+ $output = "<b>". check_output($node->title) ."</b> by ". format_name($node) ."<br />";
+ if (count($terms)) {
+ $output .= "<small>(". $this->links($terms) .")</small><br />";
+ }
if ($main && $node->teaser) {
$output .= strip_tags(check_output($node->teaser, 1));
}