2009-02-24 05:54:19 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-03-04 16:01:18 +00:00
|
|
|
<ul id="<?= $tree_id ?>" class="gCheckboxTree">
|
2009-02-21 02:28:19 +00:00
|
|
|
<? foreach ($data as $file => $file_info): ?>
|
|
|
|
|
<li class="<?= empty($file_info["is_dir"]) ? "gFile" : "gDirectory gCollapsed ui-icon-left" ?>">
|
|
|
|
|
<? if (!empty($file_info["is_dir"])): ?>
|
2009-03-10 21:30:33 +00:00
|
|
|
<span class="ui-icon ui-icon-plus"></span>
|
2009-02-21 02:28:19 +00:00
|
|
|
<? endif ?>
|
2009-06-04 23:23:11 +08:00
|
|
|
<label> <?= form::checkbox("checkbox[]", p::clean($file_info["path"]), $checked) . " " . p::clean($file) ?> </label>
|
|
|
|
|
<div class="gServerAddChildren" style="display: none"></div>
|
2009-02-21 02:28:19 +00:00
|
|
|
</li>
|
|
|
|
|
<? endforeach ?>
|
|
|
|
|
</ul>
|