2021-09-15 19:40:47 +03:00
|
|
|
{extends "../@layout.xml"}
|
2022-08-09 09:37:08 +03:00
|
|
|
{block title}{_wall}{/block}
|
2021-09-15 19:40:47 +03:00
|
|
|
|
|
|
|
{block header}
|
|
|
|
<a href="{$oObj->getURL()}">{$oObj->getCanonicalName()}</a>
|
|
|
|
»
|
2022-08-09 09:37:08 +03:00
|
|
|
{_wall}
|
2021-09-15 19:40:47 +03:00
|
|
|
<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}
|
2021-12-24 17:58:04 +03:00
|
|
|
<div class="content_divider">
|
|
|
|
<div>
|
|
|
|
<div n:if="$canPost" class="content_subtitle">
|
|
|
|
{include "../components/textArea.xml", route => "/wall$owner/makePost"}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
{if sizeof($posts) > 0}
|
|
|
|
{foreach $posts as $post}
|
|
|
|
<a name="postGarter={$post->getId()}"></a>
|
|
|
|
|
|
|
|
{include "../components/post.xml", post => $post, commentSection => true}
|
|
|
|
{/foreach}
|
|
|
|
{include "../components/paginator.xml", conf => $paginatorConf}
|
|
|
|
{else}
|
|
|
|
{_no_posts_abstract}
|
|
|
|
{/if}
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-17 22:35:41 +03:00
|
|
|
|
2021-12-24 17:58:04 +03:00
|
|
|
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
|
|
|
|
{script "js/al_comments.js"}
|
|
|
|
{/if}
|
|
|
|
{/block}
|