mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
73a067a0c5
* rewrite * allow comments scroll * rework to up button * add posts scrolling function and ability to disabl * cloudflare bypass (do not uncomment)
48 lines
2 KiB
XML
48 lines
2 KiB
XML
{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>
|
|
</div>
|
|
{/block}
|
|
|
|
{block content}
|
|
<div class="content_divider">
|
|
<div>
|
|
<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">
|
|
{include "../components/textArea.xml", route => "/wall$owner/makePost", hasSource => true}
|
|
</div>
|
|
|
|
<div class="content scroll_container">
|
|
{if sizeof($posts) > 0}
|
|
<div class='scroll_node' n:foreach='$posts as $post'>
|
|
<a name="postGarter={$post->getId()}"></a>
|
|
|
|
{include "../components/post.xml", post => $post, commentSection => true}
|
|
</div>
|
|
{include "../components/paginator.xml", conf => $paginatorConf}
|
|
{else}
|
|
{_no_posts_abstract}
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/block}
|