openvk/Web/Presenters/templates/components/post.xml
Ilya Prokopenko b11c942c65
Global: Correct the components code
НЛО прилетело и опубликовало эту надпись здесь
2022-03-24 15:29:00 +03:00

7 lines
289 B
XML

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