12345678910111213141516171819202122 |
- {volist name="data" id="v"}
- <tr>
- <td>
- {if condition="in_array($v['id'],$select)"}
- <input type="checkbox" checked class="appids" name="appids[]" value="{$v.id}">
- {else /}
- <input type="checkbox" class="appids" name="appids[]" value="{$v.id}">
- {/if}
- </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/authtreeapp',['data'=>$v['children'],'select'=>$select,'depth'=>$depth + 1])}
- {/if}
- {/volist}
|