summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/xtemplate/xtemplate.theme6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme
index a898c32b2..f5d477537 100644
--- a/themes/xtemplate/xtemplate.theme
+++ b/themes/xtemplate/xtemplate.theme
@@ -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");