mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-30 21:45:01 +03:00
Fixes #491 Комментарии
This commit is contained in:
parent
9a0c1d0f24
commit
6542fada44
|
@ -115,7 +115,7 @@
|
|||
{include 'components/vote/vote.tpl'
|
||||
sClasses = "{$sComponent}-vote js-vote-{$sComponent}"
|
||||
oObject = $oComment
|
||||
bIsLocked = ($oUserCurrent && $oUserCurrent->getId() == $oUser->getId())}
|
||||
bIsLocked = ($oUserCurrent && $oUserCurrent->getId() == $oUser->getId()) || strtotime($oComment->getDate()) < $smarty.now - Config::Get('acl.vote.comment.limit_time')}
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
|
|
Loading…
Reference in a new issue