blob: d7fd801eb2aefaf26df7454829cc79d79c637565 (
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', ['formaction' => URLHelper::getURL('dispatch.php/admin/courses/set_aux_lockrule')]); ?>
|