aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/lti/iframe.php
blob: cd73efda47fb585a1ab1aa56d51a4d039ca0c980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<body onload="document.ltiLaunchForm.submit();">
    <form name="ltiLaunchForm" method="post" action="<?= htmlReady($launch_url) ?>">
        <? foreach ($launch_data as $key => $value): ?>
            <input type="hidden" name="<?= htmlReady($key) ?>" value="<?= htmlReady($value, false) ?>">
        <? endforeach ?>
        <input type="hidden" name="oauth_signature" value="<?= $signature ?>">
        <noscript>
            <button><?= _('Anwendung starten') ?></button>
        </noscript>
    </form>
</body>
</html>