openvk/Web/Presenters/templates/components/post.xml
2021-01-27 17:40:37 +00:00

7 lines
224 B
XML

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