mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
e4452aca7e
All the same, I forgot to add these files to the commit :3
40 lines
1.1 KiB
XML
40 lines
1.1 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 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>
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
|
|
{script "js/al_comments.js"}
|
|
{/if}
|