mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 09:24:25 +03:00
13 lines
333 B
Smarty
13 lines
333 B
Smarty
{get_blocks assign='aBlocksLoad'}
|
|
|
|
{if isset($aBlocksLoad.$group)}
|
|
{foreach from=$aBlocksLoad.$group item=aBlock}
|
|
{if $aBlock.type == 'block'}
|
|
{insert name="block" block=$aBlock.name params=$aBlock.params}
|
|
{/if}
|
|
|
|
{if $aBlock.type == 'template'}
|
|
{include file=$aBlock.name params=$aBlock.params}
|
|
{/if}
|
|
{/foreach}
|
|
{/if} |