<{if $standalone}>
<{script src="flow-standalone.js" }>

<{foreach from=$_ACTIONS_ item=menu key=key}> class="current"<{/if}> style="width:<{100/count($_ACTIONS_)|number_format:0}>%" onclick="flow.tab('<{$key}>')"><{$menu}> <{/foreach}>

<{/if}>

<{foreach from=$menus item=menu key=key}>
- <{$menu}>
<{/foreach}>

<{if $_OUTPUT_}> <{$_OUTPUT_}> <{else}> <{include file=$_PAGE_}> <{/if}>
<{if $standalone}>
<{/if}>