{volist name="data" id="v"} <tr> <td> <input type="checkbox" class="ids {$v.pids}" name="ids[]" value="{$v.id}" onclick="checkSubClick('{$v.id}',this)"> </td> <td style="text-indent:{$depth * 1}em;"> {if condition="isset($v['children']) && !empty($v['children'])"} <i class="glyphicon glyphicon-folder-open"></i> {else /} <i class="glyphicon glyphicon-list-alt"></i> {/if} {$v.title} </td> </tr> {if condition="isset($v['children']) && !empty($v['children'])"} {:widget_view('org/org_bach_authtree',['data'=>$v['children'],'select'=>[],'depth'=>$depth + 1])} {/if} {/volist}