2021-09-15 19:40:47 +03:00
|
|
|
{extends "../@layout.xml"}
|
|
|
|
{block title}{_"wall"}{/block}
|
|
|
|
|
|
|
|
{block header}
|
|
|
|
<a href="{$oObj->getURL()}">{$oObj->getCanonicalName()}</a>
|
|
|
|
»
|
|
|
|
{_"wall"}
|
|
|
|
<div style="float:right;">
|
|
|
|
<span>
|
|
|
|
<b>{tr("wall", $count)}</b>
|
|
|
|
</span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
2021-09-15 19:40:47 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
|
|
|
<div class="content_divider">
|
2020-06-07 19:04:43 +03:00
|
|
|
<div>
|
2021-01-02 16:01:28 +03:00
|
|
|
<div n:if="$canPost" class="content_subtitle">
|
2021-10-12 14:16:39 +03:00
|
|
|
{include "../components/textArea.xml", route => "/wall$owner/makePost"}
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
2020-12-26 01:57:44 +03:00
|
|
|
|
2020-06-07 19:04:43 +03:00
|
|
|
<div class="content">
|
|
|
|
{if sizeof($posts) > 0}
|
|
|
|
{foreach $posts as $post}
|
|
|
|
<a name="postGarter={$post->getId()}"></a>
|
|
|
|
|
2021-11-28 14:39:42 +03:00
|
|
|
{include "../components/post.xml", post => $post, commentSection => true}
|
2020-06-07 19:04:43 +03:00
|
|
|
{/foreach}
|
|
|
|
{include "../components/paginator.xml", conf => $paginatorConf}
|
|
|
|
{else}
|
2020-08-20 17:05:00 +03:00
|
|
|
{_no_posts_abstract}
|
2020-06-07 19:04:43 +03:00
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-15 19:40:47 +03:00
|
|
|
{/block}
|