1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 13:24:26 +03:00
ifhub.club/application/frontend/skin/developer/components/toolbar/toolbar.tpl
2014-11-02 22:34:16 +07:00

20 lines
601 B
Smarty

{**
* Тулбар
*
* @styles css/toolbar.css
* @scripts js/ui/toolbar.js
* @scripts js/livestreet/toolbar.js
*}
{* Название компонента *}
{$component = 'toolbar'}
{function toolbar_item_icon}
<{if $url}a href="{$url}"{else}div{/if} class="toolbar-item-button {$classes}" {$attributes} {if $title}title="{$title}"{/if}>
<i class="{$icon}"></i>
</{if $url}a{else}div{/if}>
{/function}
<aside class="{$component} {mod name=$component mods=$smarty.local.mods} {$smarty.local.classes} js-toolbar" {$smarty.local.attributes}>
{include 'blocks.tpl' group='toolbar'}
</aside>