1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-28 20:45:00 +03:00

Fixes #491 Комментарии

This commit is contained in:
Denis Shakhov 2014-07-24 23:58:34 +07:00
parent 9a0c1d0f24
commit 6542fada44

View file

@ -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}