diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/marvin/marvin.theme | 6 | ||||
-rw-r--r-- | themes/unconed/unconed.theme | 6 | ||||
-rw-r--r-- | themes/xtemplate/xtemplate.theme | 6 |
3 files changed, 8 insertions, 10 deletions
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 6614ade7f..7f2e91fd0 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -98,10 +98,10 @@ print " <tr><td colspan=\"2\"> </td></tr>\n"; if ($main && $node->teaser) { - print " <tr><td colspan=\"2\"><p>". check_output($node->teaser) ."</p></td></tr>\n"; + print " <tr><td colspan=\"2\"><p>$node->teaser</p></td></tr>\n"; } else { - print " <tr><td colspan=\"2\"><p>". check_output($node->body) ."</p></td></tr>\n"; + print " <tr><td colspan=\"2\"><p>$node->body</p></td></tr>\n"; } print " <tr><td colspan=\"2\"> </td></tr>\n"; @@ -147,7 +147,7 @@ // Print body of comment: if ($comment->comment) { - print " <tr><td bgcolor=\"#FFFFFF\">". check_output($comment->comment) ."</td></tr>\n"; + print " <tr><td bgcolor=\"#FFFFFF\">$comment->comment</td></tr>\n"; } // Print bottom link(s): diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 41ad41dfc..f1dee7e58 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -115,10 +115,10 @@ <TD BGCOLOR="<?php echo $this->bgcolor2 ?>" COLSPAN="2"> <?php if ($main && $node->teaser) { - echo "<P>". check_output($node->teaser) ."</P>"; + echo "<P>$node->teaser</P>"; } else { - echo "<P>". check_output($node->body) ."</P>"; + echo "<P>$node->body</P>"; } ?> </TD> @@ -167,7 +167,7 @@ echo " </TR>"; // Print body of comment: - if ($comment) echo " <TR><TD BGCOLOR=\"$this->bgcolor2\">". check_output($comment->comment) ."</TD></TR>"; + if ($comment) echo " <TR><TD BGCOLOR=\"$this->bgcolor2\">$comment->comment</TD></TR>"; // Print bottom link(s): echo " <TR><TD ALIGN=\"right\" BGCOLOR=\"$this->bgcolor3\">[ $link ]</TD></TR>"; 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) { |