blob: f20970029a7740bbe0d61a1e339c6c7e0c9361d7 (
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
|
<form class="default" action="<?= $controller->url_for('admin/ilias_interface/save/'.$ilias_index) ?>" method="post">
<?= CSRFProtection::tokenTag() ?>
<? if (count($existing_indices)) : ?>
<label>
<span class="required"><?= _('Art der Verknüpfung') ?></span>
<select name="ilias_index">
<option selected><?=_('Neue Verknüpfung')?></option>
<? foreach ($existing_indices as $existing_index => $data) : ?>
<option><?=sprintf(_('ILIAS-Installation (Index %s) aus vorheriger Verknüpfung'), $existing_index)?></option>
<? endforeach ?>
</select>
</label>
<? endif ?>
<label>
<span class="required"><?= _('Name der Installation') ?></span>
<input type="text" name="ilias_name" size="50" maxlength="255" value="<?= htmlReady($ilias_config['name']) ?>" required>
</label>
<label>
<span class="required"> <?= _('URL') ?></span>
<input type="text" name="ilias_url" size="50" maxlength="255" value="<?= $ilias_config['url'] ?>" required>
</label>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern'), 'submit') ?>
<?= Studip\Button::createCancel(_('Abbrechen'), 'cancel', ['data-dialog' => 'close']) ?>
</footer>
</form>
|