{volist name="data" id="v"} <tr> <td> <input type="checkbox" class="appids {$v.pids}" name="appids[]" 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.name} </td> </tr> {if condition="isset($v['children']) && !empty($v['children'])"} {:widget_view('org/org_bach_authtreeapp',['data'=>$v['children'],'select'=>[],'depth'=>$depth + 1])} {/if} {/volist}