openvk/Web/Presenters/templates/components/wall.xml

32 lines
1.1 KiB
XML
Raw Permalink Normal View History

2020-06-07 19:04:43 +03:00
<div class="content_divider">
<div class="content_title_expanded" onclick="hidePanel(this);">
{_wall}
<nobold>
{tr("wall", $count)}
<a href="/wall{$owner}" class="float-right lowercase">{_all_title}</a>
</nobold>
2020-06-07 19:04:43 +03:00
</div>
<div>
<div n:if="$canPost" class="content_subtitle">
{include "../components/textArea.xml", route => "/wall$owner/makePost", graffiti => true, polls => true, notes => true}
2020-06-07 19:04:43 +03:00
</div>
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}
{/foreach}
{include "../components/paginator.xml", conf => $paginatorConf}
{else}
{_no_posts_abstract}
{/if}
2020-06-07 19:04:43 +03:00
</div>
</div>
</div>
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
{script "js/al_comments.js"}
{/if}