blob: 5626b65c1b39e8f32aa712dd5d9aed6cbcbdcb45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<? if (!empty($materialien)) : ?>
<ul class="oer_material_overview mainlist">
<?= $this->render_partial('oer/market/_materials.php', compact('materialien')) ?>
</ul>
<? else : ?>
<?= MessageBox::info(_('Keine Materialien gefunden')) ?>
<? endif ?>
<?
if ($GLOBALS['perm']->have_perm("autor")) {
$actions = new ActionsWidget();
$actions->addLink(
_('Neues Lernmaterial hochladen'),
$controller->url_for("oer/mymaterial/edit"),
Icon::create("add", Icon::ROLE_CLICKABLE),
['data-dialog' => "1"]
);
Sidebar::Get()->addWidget($actions);
}
|