1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 22:04:26 +03:00
ifhub.club/application/frontend/skin/developer/toolbar/toolbar.comment.tpl

25 lines
947 B
Smarty
Raw Normal View History

2013-05-25 10:57:20 +03:00
{**
* Тулбар
* Кнопка обновления комментариев
*
* @styles css/toolbar.css
* @scripts js/livestreet/toolbar.js
*}
2014-05-16 06:49:44 +03:00
{extends 'components/toolbar/toolbar.item.tpl'}
{block 'toolbar_item_options' append}
{$_sMods = 'update'}
{$_bShow = !! $oUserCurrent}
{$_sAttributes = 'id="update" style="{if $aPagingCmt and $aPagingCmt.iCountPage > 1}display: none;{/if}"'}
2013-05-25 10:57:20 +03:00
{$aPagingCmt = $params.aPagingCmt}
2014-05-16 06:49:44 +03:00
{/block}
2013-05-25 10:57:20 +03:00
2014-05-16 06:49:44 +03:00
{block 'toolbar_item'}
<a href="#" class="update-comments" id="update-comments" data-target-id="{$params.iTargetId}" data-target-type="{$params.sTargetType}"><i></i></a>
<a href="#" class="new-comments" id="new_comments_counter" style="display: none;" title="{$aLang.comments.comment.count_new}"></a>
2014-05-16 06:49:44 +03:00
<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}" />
{/block}