{assign var="postPageTitle" value=$post->getTopic()} {assign var="postPageTitle" value=" | $postPageTitle"} {include file="$blogtemplate/header.template"}

{* I am not so keen on using if's in templates, but can't think of another way... *} {assign var=nextpost value=$post->getNextArticle()} {if $nextpost == true} « | {/if} {assign var=prevpost value=$post->getPrevArticle()} {if $prevpost == true} » {/if}

{assign var="poster" value=$post->getUserInfo()} {include file="$blogtemplate/post.template"} {foreach from=$comments item=comment}

{$comment->getTopic()|strip_tags} [{$locale->tr("reply")}]

{$comment->getText()}

{assign var="commentDate" value=$comment->getDateObject()} {$comment->getUsername()} | {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")} {/foreach} {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}

{$locale->tr("add_comment")}

{include file="$blogtemplate/commentform.template"} {/if} {include file="$blogtemplate/footer.template"}