aboutsummaryrefslogtreecommitdiff
path: root/app/views/courseware/public/index.php
blob: cae565df0f6b288be621f06893d44f5952f8bec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<? if (empty($expired) && empty($invalid)): ?>
<div
    id="courseware-public-app"
    link-id="<?= htmlReady($link_id) ?>"
    link-pass="<?= htmlReady($link_pass) ?>"
    entry-type="public"
    entry-element-id="<?= htmlReady($entry_element_id) ?>"
    block-types="<?= htmlReady($block_types) ?>"
    container-types="<?= htmlReady($container_types) ?>"
>
</div>
<? endif; ?>
<? if (!empty($expired)): ?>
    <?= MessageBox::warning(_('Der Link zu dieser Seite ist abgelaufen.'))->hideClose() ?>
<? endif; ?>
<? if (!empty($invalid)): ?>
    <?= MessageBox::error(_('Es wurde kein gültiger Link aufgerufen.'))->hideClose() ?>
<? endif; ?>