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