{loop="$posts"} {$attachements = $value->getAttachements()}
{if="isset($attachements.pictures)"}
{else}
{/if}
  • {$url = $value->getContact()->getPhoto('s')} {if="$url"} {else} {$value->node|firstLetterCapitalize} {/if}

    {if="$value->title != null"} {$value->title} {else} {$c->__('post.default_title')} {/if}

    {if="$value->getContact()->getTrueName() != ''"} {$value->getContact()->getTrueName()} - {/if} {$value->published|strtotime|prepareDate}

{$value->contentcleaned}
    {if="isset($attachements.links)"} {loop="$attachements.links"} {if="substr($value.href, 0, 5) != 'xmpp:'"}
  • {$value.href|urldecode}
  • {/if} {/loop} {/if} {if="isset($attachements.files)"} {loop="$attachements.files"}
  • {$value.href|urldecode}
  • {/loop} {/if}
{if="isset($attachements.pictures)"}
    {loop="$attachements.pictures"}
  • {/loop}
{/if}
{$comments = $c->getComments($value)} {if="$comments"} {/if}
{/loop} {if="$posts != null && count($posts) >= $paging-1"} {/if}