{** * Блок с информацией *} {$component = 'user-info-group'} {hook run="{$component}-{$smarty.local.name}-before"} {* Получаем пункты установленные плагинами *} {hook run="{$component}-{$smarty.local.name}-items" assign='itemsHook' items=$smarty.local.items array=true} {$items = $itemsHook|default:$smarty.local.items} {if $smarty.local.html || $smarty.local.items}

{$smarty.local.title}

{if $smarty.local.html} {$smarty.local.html} {else} {include 'components/info-list/info-list.tpl' list=$smarty.local.items classes='user-info-group-items'} {/if}
{/if} {hook run="{$component}-{$smarty.local.name}-after"}