mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
12 lines
328 B
Smarty
12 lines
328 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} |