mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-09 01:44:25 +03:00
21 lines
879 B
Smarty
21 lines
879 B
Smarty
{**
|
|
* Тулбар
|
|
* Кнопка обновления комментариев
|
|
*
|
|
* @styles css/toolbar.css
|
|
* @scripts js/livestreet/toolbar.js
|
|
*}
|
|
|
|
{if $oUserCurrent}
|
|
{$aPagingCmt = $params.aPagingCmt}
|
|
|
|
<section class="toolbar-update" id="update" style="{if $aPagingCmt and $aPagingCmt.iCountPage > 1}display: none;{/if}">
|
|
<a href="#" class="update-comments" id="update-comments" onclick="ls.comments.load({$params.iTargetId},'{$params.sTargetType}'); return false;"><i></i></a>
|
|
<a href="#" class="new-comments" id="new_comments_counter" style="display: none;" title="{$aLang.comment_count_new}" onclick="ls.comments.goToNextComment(); return false;"></a>
|
|
|
|
<input type="hidden" id="comment_last_id" value="{$params.iMaxIdComment}" />
|
|
<input type="hidden" id="comment_use_paging" value="{if $aPagingCmt and $aPagingCmt.iCountPage>1}1{/if}" />
|
|
</section>
|
|
{/if}
|
|
|