mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-02 22:45:02 +03:00
Fixes #491 Комментарии
This commit is contained in:
parent
9a0c1d0f24
commit
6542fada44
|
@ -115,7 +115,7 @@
|
||||||
{include 'components/vote/vote.tpl'
|
{include 'components/vote/vote.tpl'
|
||||||
sClasses = "{$sComponent}-vote js-vote-{$sComponent}"
|
sClasses = "{$sComponent}-vote js-vote-{$sComponent}"
|
||||||
oObject = $oComment
|
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>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue