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>
|
2023-11-16 19:44:12 +03:00
|
|
|
<div class="tabs">
|
|
|
|
<div n:attr="id => ($type != 'all' ? 'ki' : 'activetabs')" class="tab">
|
|
|
|
<a n:attr="id => ($type != 'all' ? 'ki' : 'act_tab_a')" href="/wall{$owner}">{_all_posts}</a>
|
|
|
|
</div>
|
|
|
|
<div n:attr="id => ($type != 'owners' ? 'ki' : 'activetabs')" class="tab">
|
|
|
|
<a n:attr="id => ($type != 'owners' ? 'ki' : 'act_tab_a')" href="/wall{$owner}?type=owners">{isset($club) ? tr("clubs_posts") : tr("users_posts", ovk_proc_strtr($oObj->getFirstName(), 20))}</a>
|
|
|
|
</div>
|
|
|
|
<div n:attr="id => ($type != 'others' ? 'ki' : 'activetabs')" class="tab">
|
|
|
|
<a n:attr="id => ($type != 'others' ? 'ki' : 'act_tab_a')" href="/wall{$owner}?type=others">{_others_posts}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div n:if="$canPost && $type == 'all'" class="content_subtitle">
|
2024-11-22 18:21:12 +03:00
|
|
|
{include "../components/textArea.xml", route => "/wall$owner/makePost", graffiti => true, polls => true, notes => true, hasSource => true}
|
2021-12-24 17:58:04 +03:00
|
|
|
</div>
|
|
|
|
|
2024-11-22 16:31:07 +03:00
|
|
|
<div class="content scroll_container">
|
2021-12-24 17:58:04 +03:00
|
|
|
{if sizeof($posts) > 0}
|
2024-11-22 16:31:07 +03:00
|
|
|
<div class='scroll_node' n:foreach='$posts as $post'>
|
2021-12-24 17:58:04 +03:00
|
|
|
<a name="postGarter={$post->getId()}"></a>
|
|
|
|
|
|
|
|
{include "../components/post.xml", post => $post, commentSection => true}
|
2024-11-22 16:31:07 +03:00
|
|
|
</div>
|
2021-12-24 17:58:04 +03:00
|
|
|
{include "../components/paginator.xml", conf => $paginatorConf}
|
|
|
|
{else}
|
|
|
|
{_no_posts_abstract}
|
|
|
|
{/if}
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-24 17:58:04 +03:00
|
|
|
{/block}
|