{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}