{capture assign = 'initInlineScripts'} {foreach from = $DOC.initInlineScripts item = script} {$script} {/foreach} {/capture} {foreach from = $DOC.CSSs item = 'file'} {/foreach} {foreach from = $DOC.JSs item = 'file'} {/foreach} {foreach from = $DOC.VBs item = 'file'} {/foreach}