blob: adc8c595f20bdb43920582c3e14ed7250b99c725 (
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
|
<?php
/**
* @var Admin_LtiController $controller
* @var LtiTool $tool
* @var \OAT\Library\Lti1p3Core\Platform\Platform $platform
*/
?>
<form class="default" action="<?= $controller->link_for('admin/lti/edit/' . $tool->id) ?>"
method="post" data-dialog="reload-on-close">
<?= CSRFProtection::tokenTag() ?>
<fieldset>
<legend>
<?= _('Konfiguration des LTI-Tools') ?>
</legend>
<label class="studiprequired">
<span class="textlabel"><?= _('Name') ?></span>
<span class="asterisk">*</span>
<input type="text" name="name" value="<?= htmlReady($tool->name) ?>">
</label>
<?= $this->render_partial('lti/_tool_form_fields', ['tool' => $tool]) ?>
</fieldset>
<? if ($platform) : ?>
<fieldset>
<legend><?= _('Daten zur LTI-Plattform') ?></legend>
<?= $this->render_partial('lti/_platform_data', ['platform' => $platform]) ?>
</fieldset>
<? endif ?>
<footer data-dialog-button>
<?= Studip\Button::createAccept(_('Speichern'), 'save') ?>
<?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/lti')) ?>
</footer>
</form>
|