mirror of
https://github.com/openvk/openvk
synced 2025-03-15 05:55:29 +03:00
41 lines
2.1 KiB
XML
41 lines
2.1 KiB
XML
|
{var $author = $change->getAuthor()}
|
||
|
|
||
|
<table border="0" style="font-size: 11px;">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td width="54" valign="top">
|
||
|
<a href="{$author->getURL()}">
|
||
|
<img src="{$author->getAvatarURL('miniscule')}" width="50" />
|
||
|
<span n:if="!$post->isPostedOnBehalfOfGroup() && !($compact ?? false) && $author->isOnline()" class="post-online">{_online}</span>
|
||
|
</a>
|
||
|
</td>
|
||
|
<td width="100%" valign="top">
|
||
|
<div class="post-author">
|
||
|
<a href="{$author->getURL()}"><b>
|
||
|
{$author->getCanonicalName()}
|
||
|
</b></a>
|
||
|
<img n:if="$author->isVerified()" class="name-checkmark" src="/assets/packages/static/openvk/img/checkmark.png"><br/>
|
||
|
</div>
|
||
|
<div class="post-content" id="{$change->getId()}">
|
||
|
<div class="text" id="text{$change->getId()}">
|
||
|
{$change->getOldContent()|noescape}
|
||
|
<a n:if="$change->canBeApplied('old')" href="/wall{$post->getPrettyId()}/history/restore{$change->getId()}/old">
|
||
|
| Применить
|
||
|
</a>
|
||
|
<span class="nobold" n:if="$post->getChangeId() == $change->getId() AND $post->getChangeType() == 'old'">
|
||
|
| Текущая версия
|
||
|
</span>
|
||
|
<hr size="1" color="#ddd">
|
||
|
{$change->getNewContent()|noescape}
|
||
|
<a n:if="$change->canBeApplied('new')" href="/wall{$post->getPrettyId()}/history/restore{$change->getId()}/new">
|
||
|
| Применить
|
||
|
</a>
|
||
|
<span class="nobold" n:if="$post->getChangeId() == $change->getId() AND $post->getChangeType() == 'new'">
|
||
|
| Текущая версия
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|