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