mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
21 lines
453 B
Smarty
21 lines
453 B
Smarty
{**
|
|
* Экшнбар
|
|
*
|
|
* @param array $aActionbarItems Массив
|
|
*
|
|
* @styles css/common.css
|
|
*}
|
|
|
|
{if $aActionbarItems}
|
|
<ul class="actionbar clearfix {$sActionbarClasses}" {$sActionbarAttributes}>
|
|
{foreach $aActionbarItems as $aActionbarItem}
|
|
{if $aActionbarItem['html']}
|
|
{$aActionbarItem['html']}
|
|
{else}
|
|
{if $aActionbarItem['show']|default:true}
|
|
{include 'actionbar.item.tpl'}
|
|
{/if}
|
|
{/if}
|
|
{/foreach}
|
|
</ul>
|
|
{/if} |