1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/skin/developer/components/actionbar/actionbar.tpl
Denis Shakhov 4f222aaa25 Доработка компонентов
* Часть компонентов перенесена в папку components
* Из лок-ии убраны лишнии текстовки
* Переписан модуль vote.js с использованием jquery widget factory
* Мелкие доработки и исправления
2014-04-08 18:42:07 +07:00

24 lines
586 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Экшнбар
*
* @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}