- Fixed bug with taxonomy handling. Bug #2831. Port of patch by Jonathan

Chaffer.
4.3.x
Dries Buytaert 2003-09-11 21:57:39 +00:00
parent b5f006c70e
commit 9113a1ae28
1 changed files with 6 additions and 0 deletions

View File

@ -44,10 +44,16 @@ class Theme_xtemplate extends BaseTheme {
if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) {
$this->template->assign("taxonomy", $this->links($taxonomy));
}
else {
$this->template->assign("taxonomy", "");
}
if ($links = link_node($node, $main)) {
$this->template->assign("links", $this->links($links));
}
else {
$this->template->assign("links", "");
}
$this->template->parse("node");
print $this->template->text("node");