{$comment->getText()|noescape}
{var $attachmentsLayout = $comment->getChildrenWithLayout(288)}
{include "attachment.xml", attachment => $attachment[2], parent => $comment, parentType => "comment"}
{include "attachment.xml", attachment => $attachment, post => $comment}
{$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}
| {_report}
{/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()}