diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/chameleon/chameleon.theme | 1 | ||||
-rw-r--r-- | themes/engines/xtemplate/xtemplate.engine | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 44df7589b..154cb2e4b 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -129,6 +129,7 @@ function chameleon_node($node, $main = 0, $page = 0) { $submitted = theme_get_setting("toggle_node_info_$node->type") ? array(t("By %author at %date", array('%author' => format_name($node), '%date' => format_date($node->created, 'small')))) : array(); + $terms = array(); if (module_exist('taxonomy')) { $terms = taxonomy_link("taxonomy terms", $node); } diff --git a/themes/engines/xtemplate/xtemplate.engine b/themes/engines/xtemplate/xtemplate.engine index 6bcffc65a..2b91f70d7 100644 --- a/themes/engines/xtemplate/xtemplate.engine +++ b/themes/engines/xtemplate/xtemplate.engine @@ -12,6 +12,7 @@ function xtemplate_init($template) { if (!class_exists('XTemplate')) { include_once('themes/engines/xtemplate/xtemplate.inc'); } + $GLOBALS["xtemplate"] = new StdClass(); $GLOBALS['xtemplate']->template = new XTemplate(basename($template->filename), dirname($template->filename)); $GLOBALS['xtemplate']->template->SetNullBlock(' '); // '' doesnt work! } |