diff options
Diffstat (limited to 'themes/xtemplate/xtemplate.theme')
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index d706541b4..a24149fef 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -1,9 +1,6 @@ <?php // $Id$ -class Theme_xtemplate extends BaseTheme { -} - if (!class_exists("XTemplate")) { include_once("themes/xtemplate/xtemplate.inc"); } @@ -121,10 +118,10 @@ function xtemplate_header($title = "") { ob_start(); if ($xtemplate->sidebar == "left") { - theme_blocks("all"); + print render_blocks("all"); } else if ($xtemplate->sidebar == "both") { - theme_blocks("left"); + print render_blocks("left"); } if ($blocks = ob_get_contents()) { @@ -171,10 +168,10 @@ function xtemplate_footer() { ob_start(); if ($xtemplate->sidebar == "right") { - theme_blocks("all"); + print render_blocks("all"); } else if ($xtemplate->sidebar == "both") { - theme_blocks("right"); + print render_blocks("right"); } if ($blocks = ob_get_contents()) { |