mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
20 lines
595 B
Smarty
20 lines
595 B
Smarty
{**
|
|
* Тулбар
|
|
*
|
|
* @styles css/toolbar.css
|
|
* @scripts js/ui/toolbar.js
|
|
* @scripts js/livestreet/toolbar.js
|
|
*}
|
|
|
|
{* Название компонента *}
|
|
{$_sComponentName = 'toolbar'}
|
|
|
|
{function toolbar_item_icon}
|
|
<{if $sUrl}a href="{$sUrl}"{else}div{/if} class="toolbar-item-button {$sClasses}" {$sAttributes}>
|
|
<i class="{$sIcon}"></i>
|
|
</{if $sUrl}a{else}div{/if}>
|
|
{/function}
|
|
|
|
<aside class="{$_sComponentName} {mod name=$_sComponentName mods=$smarty.local.sMods} {$smarty.local.sClasses} js-toolbar" {$smarty.local.sAttributes}>
|
|
{include 'blocks.tpl' group='toolbar'}
|
|
</aside> |