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

8 lines
224 B
XML
Raw Normal View History

2021-01-27 20:40:37 +03:00
{var microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
{if $microblogEnabled}
{include "post/microblogpost.xml", post => $post}
{else}
{include "post/oldpost.xml", post => $post}
{/if}