Code Duplication    Length = 5-5 lines in 2 locations

app/view/blog/view-post.tpl.php 1 location

@@ 5-9 (lines=5) @@
2
3
<h1><?=$post->title?></h1>
4
5
<?php if ($post->filter != '') {
6
	echo $this->textFilter->doFilter(htmlentities($post->content, null, 'UTF-8'), $post->filter);
7
} else {
8
	echo htmlentities($post->content, null, 'UTF-8');
9
}
10
?>
11

app/view/page/view.tpl.php 1 location

@@ 3-7 (lines=5) @@
1
<h1><?=$page->title?></h1>
2
3
<?php if ($page->filter != '') {
4
	echo $this->textFilter->doFilter(htmlentities($page->content, null, 'UTF-8'), $page->filter);
5
} else {
6
	echo htmlentities($page->content, null, 'UTF-8');
7
}
8
?>
9
10