summaryrefslogtreecommitdiff
path: root/themes/xtemplate
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-26 19:50:39 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-26 19:50:39 +0000
commitd8f78a7c9526f473ac26d4b51b09d235720c1858 (patch)
tree7d537a6b6b11c39f3e97515c6c012c475be81428 /themes/xtemplate
parent1cdda38df7724e408ede80f35089ee2c8365f562 (diff)
downloadbrdo-d8f78a7c9526f473ac26d4b51b09d235720c1858.tar.gz
brdo-d8f78a7c9526f473ac26d4b51b09d235720c1858.tar.bz2
- Removed check_output() from the theme system layer.
Diffstat (limited to 'themes/xtemplate')
-rw-r--r--themes/xtemplate/xtemplate.theme6
1 files changed, 2 insertions, 4 deletions
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) {