mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
25 lines
679 B
Smarty
25 lines
679 B
Smarty
{**
|
|
* Кнопка экшнбара
|
|
*
|
|
* @param string $icon
|
|
* @param string $text
|
|
* @param string $url
|
|
* @param string $show
|
|
* @param string $classes
|
|
* @param string $attributes
|
|
*}
|
|
|
|
{$component = 'actionbar-item'}
|
|
|
|
{if $smarty.local.show|default:true}
|
|
<li class="{$component}">
|
|
{block 'actionbar_item'}
|
|
{include 'components/button/button.tpl'
|
|
url = $smarty.local.url
|
|
classes = "{$component}-link {$smarty.local.classes}"
|
|
text = $smarty.local.text
|
|
icon = $smarty.local.icon
|
|
attributes = $smarty.local.attributes}
|
|
{/block}
|
|
</li>
|
|
{/if} |