0
0

authtreeapp.html 871 B

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