blob: 1ac39af5923baa9b77099eaaedafcbd4ba2885cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
$topics = CourseTopic::findBySeminar_id($folder->range_id);
?>
<label>
<?= _('Wählen sie eine zugehöriges Thema aus, Titel und Beschreibung des Themas werden automatisch übernommen.') ?>
<select name="topic_id">
<? if (count($topics) === 0): ?>
<option value="">
<?= _('Es existiert kein Thema in dieser Veranstaltung') ?>
</option>
<? endif; ?>
<? foreach ($topics as $one_topic): ?>
<option <?=(@$topic->id === $one_topic->id ? 'selected' : '')?> value="<?= htmlReady($one_topic->id) ?>">
<?= htmlReady($one_topic->title) ?>
</option>
<? endforeach; ?>
</select>
</label>
<label>
<input name="course_topic_folder_perm_write" type="checkbox" value="1" <? if ($folder->checkPermission('w')) echo 'checked'; ?>>
<?= _('Studierende dürfen Dateien in diesen Ordner hochladen') ?>
</label>
|