2014-08-08 19:21:31 +03:00
|
|
|
|
{**
|
|
|
|
|
* Блок с информацией
|
|
|
|
|
*}
|
|
|
|
|
|
|
|
|
|
{$component = 'user-info-group'}
|
|
|
|
|
|
2014-08-09 17:28:46 +03:00
|
|
|
|
{hook run="{$component}-{$smarty.local.name}-before"}
|
|
|
|
|
|
|
|
|
|
{* Получаем пункты установленные плагинами *}
|
2014-10-18 09:07:45 +03:00
|
|
|
|
{hook run="{$component}-{$smarty.local.name}-items" assign='itemsHook' items=$smarty.local.items array=true}
|
2014-08-09 17:28:46 +03:00
|
|
|
|
{$items = $itemsHook|default:$smarty.local.items}
|
|
|
|
|
|
2014-08-08 19:21:31 +03:00
|
|
|
|
{if $smarty.local.html || $smarty.local.items}
|
|
|
|
|
<div class="{$component} {mod name=$component mods=$smarty.local.mods} {$smarty.local.classes}" {$smarty.local.attributes}>
|
|
|
|
|
<h3 class="user-info-group-title">
|
|
|
|
|
{$smarty.local.title}
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
<div class="user-info-group-content">
|
|
|
|
|
{if $smarty.local.html}
|
|
|
|
|
{$smarty.local.html}
|
|
|
|
|
{else}
|
2014-11-02 17:34:16 +02:00
|
|
|
|
{include 'components/info-list/info-list.tpl' list=$smarty.local.items classes='user-info-group-items'}
|
2014-08-08 19:21:31 +03:00
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-08-09 17:28:46 +03:00
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{hook run="{$component}-{$smarty.local.name}-after"}
|