blob: 092f9445ff20837a89280b0d72ae689d580d7269 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<? if (!empty($kids)): ?>
<? foreach ($kids AS $type => $row): ?>
<? foreach ($row AS $part): ?>
d.add(<?=$part->id?>, <?=$root->id?>, "<?= htmlentities($part->get('name')) ?>", '<?=$part->getViewUrl()?>');
<? if ($part->get('type') == 'module'): ?>
<?= Controller::byName('parts')->renderView('tree', array('root' => $part)) ?>
<? endif ?>
<? endforeach ?>
<? endforeach ?>
<? endif ?>
|