openvk/Web/Presenters/templates/components/post.xml
2023-08-11 11:24:26 +03:00

7 lines
260 B
XML

{var $microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
{if $microblogEnabled}
{include "post/microblogpost.xml", post => $post, commentSection => $commentSection}
{else}
{include "post/oldpost.xml", post => $post}
{/if}