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

34 lines
1.2 KiB
XML
Raw 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>
2023-08-11 10:01:54 +03:00
<div class="content infContainer">
{if sizeof($posts) > 0}
{foreach $posts as $post}
2023-08-11 11:24:26 +03:00
<div class="infObj">
<a name="postGarter={$post->getId()}"></a>
{include "../components/post.xml", post => $post, commentSection => true}
</div>
{/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}