parent
b5f006c70e
commit
9113a1ae28
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue