{volist name="data" id="v"} {if condition="isset($v['children']) && !empty($v['children'])"} {else /} {/if} {$v.name} {if condition="isset($v['children']) && !empty($v['children'])"} {:widget_view('org/org_bach_authtreeapp',['data'=>$v['children'],'select'=>[],'depth'=>$depth + 1])} {/if} {/volist}