summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-11 21:57:39 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-11 21:57:39 +0000
commit9113a1ae280dd2387554be1bb3448b4e8da4b0e2 (patch)
tree0e9269163fb82583d98b26ec548ed1b0a12b9d2e /themes
parentb5f006c70eb635d709be9f1bc6de929b4ea9e166 (diff)
downloadbrdo-9113a1ae280dd2387554be1bb3448b4e8da4b0e2.tar.gz
brdo-9113a1ae280dd2387554be1bb3448b4e8da4b0e2.tar.bz2
- Fixed bug with taxonomy handling. Bug #2831. Port of patch by Jonathan
Chaffer.
Diffstat (limited to 'themes')
-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");