diff options
Diffstat (limited to 'themes/xtemplate/xtemplate.theme')
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index 7bbabf995..d0bf0c053 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -126,12 +126,15 @@ class Theme_xtemplate extends BaseTheme { // so we need some output buffering ob_start(); theme_blocks("all"); + if ($blocks = ob_get_contents()) { + $this->template->assign("blocks", $blocks); + $this->template->parse("footer.blocks"); + } + ob_end_clean(); $this->template->assign( array( - "blocks" => ob_get_contents(), "footer_message" => variable_get("site_footer", ""), "footer" => theme_footer() )); - ob_end_clean(); $this->template->parse("footer"); print $this->template->text("footer"); |