mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Fix online in messages (#354)
This commit is contained in:
parent
8edebcb0d5
commit
afa1d7e71c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
<div n:if="($online = $correspondent->getOnline()->timestamp()) < time() + 2678400" style="float: right;">
|
||||
{var diff = date_diff(date_create(), date_create('@' . $online))}
|
||||
{if 5 >= $diff->i}
|
||||
<span><b>Online</b></span>
|
||||
<span><b>{_online}</b></span>
|
||||
{else}
|
||||
<span>{$correspondent->isFemale() ? "заходила" : "заходил"} {$correspondent->getOnline()}</span>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue