{include file="$blogtemplate/header.template"}
{assign var="postDate" value=$post->getDateObject()} {assign var="postOwner" value=$post->getUserInfo()}

{$locale->formatDate($postDate,"%d %b, %Y")}

{include file="$blogtemplate/post.template"}

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

    {foreach from=$comments item=comment} {assign var=commentText value=$comment->getText()}
  1. {$commentText}

    {$locale->tr("posted_by")} {if $comment->getUserUrl() != ""} {$comment->getUsername()} {else} {$comment->getUsername()} {/if} — {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}

  2. {/foreach}
{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}

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

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