mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
* Часть компонентов перенесена в папку components * Из лок-ии убраны лишнии текстовки * Переписан модуль vote.js с использованием jquery widget factory * Мелкие доработки и исправления
24 lines
586 B
Smarty
24 lines
586 B
Smarty
{**
|
||
* Экшнбар
|
||
*
|
||
* @param array $aItems Массив с кнопками
|
||
*
|
||
* @styles css/common.css
|
||
*}
|
||
|
||
{* Название компонента *}
|
||
{$_sComponentName = 'actionbar'}
|
||
|
||
{if $smarty.local.aItems}
|
||
<ul class="{$_sComponentName} clearfix {mod name=$_sComponentName mods=$smarty.local.sMods} {$smarty.local.sClasses}" {$smarty.local.sAttributes}>
|
||
{foreach $smarty.local.aItems as $aItem}
|
||
{if $aItem['html']}
|
||
{$aItem['html']}
|
||
{else}
|
||
{if $aItem['show']|default:true}
|
||
{include './actionbar.item.tpl'}
|
||
{/if}
|
||
{/if}
|
||
{/foreach}
|
||
</ul>
|
||
{/if} |