aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/aux_preselect.php
blob: 73a2036577e970c1d0451011a85345bb1c3db60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * @var array $values
 * @var AuxLockRule[] $aux_lock_rules
 */
?>
<label><?= _('Für alle Veranstaltungen') ?>
    <select name="lock_sem_all" style="max-width: 200px">
        <option value="none">
            --<?= _('keine Zusatzangaben') ?>--
        </option>
    <? foreach ($aux_lock_rules as $rule) : ?>
        <option value="<?= htmlReady($rule->id) ?>"
            <? if ($values['aux_lock_rule'] === $rule->id) echo 'selected'; ?>>
            <?= htmlReady($rule->name) ?>
        </option>
    <? endforeach ?>
    </select>
</label>
<label>
    <input type="checkbox" value="1" name="aux_all_forced">
    <?=_('Erzwungen')?>
</label>
<?= \Studip\Button::createAccept(_('Speichern'), 'all'); ?>