## {$post->getTopic()}

{assign var="postDate" value=$post->getDateObject()} {assign var="postOwner" value=$post->getUserInfo()}

{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}

{$post->getText()}

{if $OnMainPage}

{foreach name=categories from=$post->getCategories() item=postCategory}getName()}">{$postCategory->getName()}{if !$smarty.foreach.categories.last}, {/if}{/foreach} | {$post->getTopic()}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")} | {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 } {$post->getTopic()}">{if $post->getNumComments() == 0 }{$locale->tr("add_comment")}{else if}{$locale->tr("comments")|capitalize} ({$post->getNumComments()}){/if} | {/if} {if $post->getNumTrackbacks() > 0} {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}

{else}

{foreach name=categories from=$post->getCategories() item=postCategory}getName()}">{$postCategory->getName()}{if !$smarty.foreach.categories.last}, {/if}{/foreach} | {assign var=nextpost value=$post->getNextArticle()}{if $nextpost == true}getTopic()}">{$locale->tr("next_post")} | {/if} {assign var=prevpost value=$post->getPrevArticle()}{if $prevpost == true}getTopic()}">{$locale->tr("previous_post")} | {/if} {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1 || $post->getNumComments() > 0 }{$locale->tr("comments")|capitalize} ({$post->getNumComments()}) | {/if} {if $post->getNumTrackbacks() > 0} {$post->getTopic()}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){else}{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()}){/if}

{/if}