aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/lti/config.php
blob: fe487f92d1c2d082ed96a72fb7c36403a44566ab (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
<form class="default" action="<?= $controller->link_for('course/lti/save_config') ?>" method="post">
    <?= CSRFProtection::tokenTag() ?>
    <fieldset>
        <legend><?= _('Datenschutzhinweis beim Wechsel in ein LTI-Tool') ?></legend>
        <label>
            <?= _('Text des Datenschutzhinweises') ?>
            <textarea name="personal_data_warning"><?= htmlReady($personal_data_warning) ?></textarea>
        </label>
        <label>
            <input type="checkbox" value="1" name="reset_warning"
                   data-deactivates="textarea[name='personal_data_warning']">
            <?= _('Den systemweit konfigurierten Standardtext verwenden.') ?>
        </label>
    </fieldset>

    <fieldset>
        <legend><?= _('LTI Plattform-Konfiguration') ?></legend>
        <?= $this->render_partial('lti/_platform_data', [
            'platform' => \Studip\LTI13a\PlatformManager::getPlatformConfiguration(),
        ]) ?>
    </fieldset>

    <footer data-dialog-button>
        <?= Studip\Button::createAccept(_('Speichern'), 'save') ?>
        <?= Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('course/lti')) ?>
    </footer>
</form>