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