diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index dc5cc10bcbd751f2655bc364f0725c15daf67c27..65d94c6d9a227d0764fdbd438f85f007918d0bf3 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -83,11 +83,19 @@ function header($title = "") { } function node($node, $main = 0) { + $terms = array(); + + 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"); + } + } + print "\n\n"; print "\n"; print " \n"; print " \n"; - print " \n"; + print " \n"; print " \n"; if ($main && $node->teaser) { @@ -164,7 +172,7 @@ function box($subject, $content, $region = "main") { print " \n"; print " \n";
\"\"   ". check_output($node->title) ."
\"\"
". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))); ?>". node_index($node) ."
". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))); ?>". $this->links($terms) ."
 
\n"; print " \n"; - print " \n"; + print " \n"; print " \n"; print "
$subject
$subject
$content
\n"; print "