blob: d2af241b22a588be738ab59b9f3f932d5d585c19 (
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
|
<?php
/**
* @var StudipController $controller
* @var LtiDeployment[] $global_tool_deployments
*/
?>
<form class="default" method="post" action="<?= $controller->link_for('course/lti/select_tool_redirect') ?>"
data-dialog>
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend><?= _('Auswahl des LTI-Tools') ?></legend>
<label>
<?= _('Bitte wählen Sie ein LTI-Tool aus.') ?>
<select name="selected_deployment_id">
<? foreach ($global_tool_deployments as $deployment) : ?>
<option value="<?= htmlReady($deployment->id) ?>">
<? if ($deployment->name) : ?>
<?= htmlReady(sprintf('%1$s (%2$s)', $deployment->tool->name, $deployment->name)) ?>
<? else : ?>
<?= htmlReady($deployment->tool->name) ?>
<? endif ?>
</option>
<? endforeach ?>
<? if (Config::get()->LTI_ALLOW_TOOL_CONFIG_IN_COURSE) : ?>
<option value="new">
<?= _('Neues LTI-Tool für die Veranstaltung einrichten.') ?>
</option>
<? endif ?>
</select>
</label>
</fieldset>
<div data-dialog-button>
<?= \Studip\Button::create(_('Weiter')) ?>
</div>
</form>
|