mirror of
https://github.com/openvk/openvk
synced 2025-01-10 09:59:38 +03:00
15 lines
No EOL
425 B
XML
15 lines
No EOL
425 B
XML
{var $microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
|
|
|
|
{if $post->canBeViewedBy($thisUser ?? NULL)}
|
|
|
|
{if $microblogEnabled}
|
|
{include "post/microblogpost.xml", post => $post, commentSection => $commentSection}
|
|
{else}
|
|
{include "post/oldpost.xml", post => $post}
|
|
{/if}
|
|
|
|
{else}
|
|
<div class="post post-divider">
|
|
<span style="color:gray;">{_no_access_post}</span>
|
|
</div>
|
|
{/if} |