mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
Исправлен счетчик избранного в комментариях [new-jquery]
This commit is contained in:
parent
bf9fb356c3
commit
ab830d0836
|
@ -43,7 +43,10 @@
|
||||||
{/if}
|
{/if}
|
||||||
<li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li>
|
<li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li>
|
||||||
{if $oUserCurrent and !$bNoCommentFavourites}
|
{if $oUserCurrent and !$bNoCommentFavourites}
|
||||||
<li><a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{else} {/if}</span></a></li>
|
<li>
|
||||||
|
<a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"></a>
|
||||||
|
<span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{/if}</span>
|
||||||
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
||||||
<li><a href="#" class="delete" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li>
|
<li><a href="#" class="delete" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li>
|
||||||
|
|
Loading…
Reference in a new issue