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