{$comment->getText()|noescape}
{include "attachment.xml", attachment => $attachment}
{var $target = "wall"} {if get_class($comment->getTarget()) == "openvk\Web\Models\Entities\Note"} {php $target = "note"} {elseif get_class($comment->getTarget()) == "openvk\Web\Models\Entities\Post"} {php $target = "wall"} {elseif get_class($comment->getTarget()) == "openvk\Web\Models\Entities\Photo"} {php $target = "photo"} {elseif get_class($comment->getTarget()) == "openvk\Web\Models\Entities\Video"} {php $target = "video"} {elseif get_class($comment->getTarget()) == "openvk\Web\Models\Entities\Topic"} {php $target = "topic"} {/if} {$comment->getPublicationTime()} | {if $comment->canBeDeletedBy($thisUser)} {_delete} | {/if} {if is_null($linkW)} {_reply}{/if}