blob: f61463f69bc55d35d5cf2536b9e8f4f321f3b901 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?
# Lifter010: TODO
?>
<ul>
<? foreach ($subtree->getChildren() as $child) : ?>
<li>
<?
$has_children = $child->hasChildren();
?>
<div class="<?= TextHelper::cycle('odd', 'even') ?>">
<?= $this->render_partial('course/lvgselector/entry',
['area' => $child,
'show_link' => $has_children]) ?>
</div>
<? if ($selection->getShowAll() && $has_children) : ?>
<?= $this->render_partial('course/lvgselector/subtree', ['subtree' => $child]) ?>
<? endif ?>
</li>
<? endforeach ?>
</ul>
|