{$comment->getText()|noescape}
{include "attachment.xml", attachment => $attachment}
{$comment->getPublicationTime()} ({_edited_short}) {if !$timeOnly}  | {if $comment->canBeDeletedBy($thisUser)} {_delete} | {/if} {if $comment->canBeEditedBy($thisUser)} {_edit} | {/if} {_reply} {if $thisUser->getId() != $comment->getOwner()->getId()} {var $canReport = true} | Пожаловаться {/if} {/if} {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()}