From d8f78a7c9526f473ac26d4b51b09d235720c1858 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 May 2003 19:50:39 +0000 Subject: - Removed check_output() from the theme system layer. --- themes/xtemplate/xtemplate.theme | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'themes/xtemplate') diff --git a/themes/xtemplate/xtemplate.theme b/themes/xtemplate/xtemplate.theme index 60d51406f..4d23996fa 100644 --- a/themes/xtemplate/xtemplate.theme +++ b/themes/xtemplate/xtemplate.theme @@ -35,9 +35,7 @@ class Theme_xtemplate extends BaseTheme { "title" => ucfirst($node->title), "author" => format_name($node), "date" => format_date($node->created), - "content" => ($main && $node->teaser) ? - check_output($node->teaser) : - check_output($node->body))); + "content" => ($main && $node->teaser) ? $node->teaser : $node->body)); if ($taxonomy = taxonomy_link("taxonomy terms", $node)) { $this->template->assign("taxonomy", $this->links($taxonomy)); @@ -57,7 +55,7 @@ class Theme_xtemplate extends BaseTheme { "title" => ucfirst($comment->subject), "author" => format_name($comment), "date" => format_date($comment->timestamp), - "content" => check_output($comment->comment), + "content" => $comment->comment, "links" => $link)); if ($comment->new) { -- cgit v1.2.3