aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/aux-select.php
blob: 9088902428e27922e7f5a65bf24eba56fbb5c2d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<select name="lock_sem[<?= htmlReady($course->id) ?>]" style="max-width: 200px">
<? foreach ($aux_lock_rules as $id => $rule) : ?>
    <option value="<?= $id ?>" <?= $values['aux_lock_rule'] == $id ?  'selected' : '' ?>>
        <?= htmlReady($rule['name']) ?>
    </option>
<? endforeach ?>
</select>
<br>
<label>
    <input type="checkbox" value="1" name="lock_sem_forced[<?= htmlReady($course->id) ?>]"
           <?= $values['aux_lock_rule_forced'] ? 'checked' : '' ?>>
    <?=_('Erzwungen')?>
</label>