{if !empty($goto)} {/if} {foreach item=scriptname from=$scripts} {/foreach} {block name="script"}{/block}