openvk/Web/Presenters/templates/components/post.xml
2022-04-24 08:06:45 +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}