org_bach_authtree.html 647 B

123456789101112131415161718
  1. {volist name="data" id="v"}
  2. <tr>
  3. <td>
  4. <input type="checkbox" class="ids {$v.pids}" name="ids[]" value="{$v.id}" onclick="checkSubClick('{$v.id}',this)">
  5. </td>
  6. <td style="text-indent:{$depth * 1}em;">
  7. {if condition="isset($v['children']) && !empty($v['children'])"}
  8. <i class="glyphicon glyphicon-folder-open"></i>
  9. {else /}
  10. <i class="glyphicon glyphicon-list-alt"></i>
  11. {/if}
  12. {$v.title}
  13. </td>
  14. </tr>
  15. {if condition="isset($v['children']) && !empty($v['children'])"}
  16. {:widget_view('org/org_bach_authtree',['data'=>$v['children'],'select'=>[],'depth'=>$depth + 1])}
  17. {/if}
  18. {/volist}