blob: 03b87d07a45db6889eda786ddb70c7a196f33c56 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
<?php
/**
* @var Admin_IliasInterfaceController $controller
* @var string $ilias_interface_moduletitle
* @var array $ilias_interface_config
*/
?>
<form class="default" action="<?= $controller->url_for('admin/ilias_interface/save_interface_settings/') ?>" method="post">
<?= CSRFProtection::tokenTag() ?>
<label>
<span class="required"><?= _('Name des Moduls „ILIAS-Schnittstelle“ in Veranstaltungen') ?></span>
<input type="text" name="ilias_interface_moduletitle" size="50" maxlength="255" value="<?= htmlReady($ilias_interface_moduletitle) ?>" required>
</label>
<label>
<input type="checkbox" name="ilias_interface_create_category" value="1" <?= !empty($ilias_interface_config['create_category']) ? 'checked' : '' ?>>
<span><?= _('Persönliche Kategorie automatisch anlegen') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_create_objects" value="1" <?= !empty($ilias_interface_config['create_objects']) ? 'checked' : '' ?>>
<span><?= _('Lernobjekte anlegbar') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_edit_moduletitle" value="1" <?= !empty($ilias_interface_config['edit_moduletitle']) ? 'checked' : '' ?>>
<span><?= _('Lehrende können den Seitennamen der ILIAS-Schnittstelle in Veranstaltungen anpassen') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_show_offline" value="1" <?= !empty($ilias_interface_config['show_offline']) ? 'checked' : '' ?>>
<span><?= _('Namen von Lernobjekten und Kursen, die in ILIAS offline sind, sind in Stud.IP sichtbar') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_add_statusgroups" value="1" <?= !empty($ilias_interface_config['add_statusgroups']) ? 'checked' : '' ?>>
<span><?= _('Lehrende können Statusgruppen nach ILIAS übertragen') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_allow_change_course" value="1" <?= !empty($ilias_interface_config['allow_change_course']) ? 'checked' : '' ?>>
<span><?= _('Lehrende können die Kursverknüpfung einer Veranstaltung ändern') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_allow_add_own_course" value="1" <?= !empty($ilias_interface_config['allow_add_own_course']) ? 'checked' : '' ?>>
<span><?= _('Lehrende können einen eigenen ILIAS-Kurs verknüpfen, der noch nicht mit Stud.IP verbunden ist') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_show_course_paths" value="1" <?= !empty($ilias_interface_config['show_course_paths']) ? 'checked' : '' ?>>
<span><?= _('Die Kursübersicht auf dem Arbeitsplatz zeigt die Magazinpfade der Kurse in ILIAS und erlaubt das Filtern nach Semesternamen') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_show_tools_page" value="1" <?= !empty($ilias_interface_config['show_tools_page']) ? 'checked' : '' ?>>
<span><?= _('Die Accountübersicht auf dem Arbeitsplatz ist für alle Nutzenden (auch für Studierende ohne Berechtigung zum Anlegen von Lernobjekten) sichtbar') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_search_active" value="1" <?= !empty($ilias_interface_config['search_active']) ? 'checked' : '' ?>>
<span><?= _('Suche nach Lernobjekten verfügbar') ?></span>
</label>
<label>
<input type="checkbox" name="ilias_interface_cache" value="1" <?= !empty($ilias_interface_config['cache']) ? 'checked' : '' ?>>
<span><?= _('SOAP-Cache') ?></span>
</label>
<? if (!empty($existing_indices)) : ?>
<label>
<span class="required"><?= _('Art der Verknüpfung') ?></span>
<select name="ilias_index">
<option value="new" selected><?=_('Neue Verknüpfung')?></option>
<? foreach ($existing_indices as $existing_index => $data) : ?>
<option value="<?=$existing_index?>"><?=sprintf(_('ILIAS-Installation (Index %s) aus vorheriger Verknüpfung'), $existing_index)?></option>
<? endforeach ?>
</select>
</label>
<? endif ?>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern'), 'submit') ?>
<?= Studip\Button::createCancel(_('Abbrechen'), 'cancel', ['data-dialog' => 'close']) ?>
</footer>
</form>
|