render() ?> getDownloadUrl() ?> hasValidPreviewUrl()) : ?> id) ?> isVideo()) : ?> isAudio()) : ?>
isPDF()) : ?> isPDFInlineDisplayable()) : ?> isImage()) : ?>
isFolder() && !$material['player_url']) : ?>

    $file) : ?> render_partial("oer/market/_details_file.php", ['name' => $filename, 'file' => $file]) ?>
isMine() || $GLOBALS['perm']->have_perm("root")))) : ?>
have_perm("autor")) : ?> getId()) ?>" data-dialog> isMine() || $GLOBALS['perm']->have_perm("root"))) : ?> link_for("oer/mymaterial/edit/".$material->getId()), ['data-dialog' => "1"]) ?>
getId()) ?>" method="post" style="display: inline;"> 1, 'data-confirm' => _('Wirklich löschen?')]) ?>

getAuthors() ?>

host && $material->host->isReviewable()) : ?> isMine() && $GLOBALS['perm']->have_perm("autor") ?> isMine() || count($material->reviews)) : ?>
" href="link_for('oer/market/review/' . $material->getId()) ?>" data-dialog> asImg(50) ?> asImg(50) ?> asImg(50) ?> asImg(50) ?> asImg(50) ?> = 0.75 ? "" : ($material['rating'] >= 0.25 ? "-halffull" : "-empty") ?> asImg(50) ?> = 1.75 ? "" : ($material['rating'] >= 1.25 ? "-halffull" : "-empty") ?> asImg(50) ?> = 2.75 ? "" : ($material['rating'] >= 2.25 ? "-halffull" : "-empty") ?> asImg(50) ?> = 3.75 ? "" : ($material['rating'] >= 3.25 ? "-halffull" : "-empty") ?> asImg(50) ?> = 4.75 ? "" : ($material['rating'] >= 4.25 ? "-halffull" : "-empty") ?> asImg(50) ?>
isMine() && $GLOBALS['perm']->have_perm("autor")) : ?> url_for('oer/market/review/' . $material->getId()), ['data-dialog' => 1]) ?>
have_perm(Config::get()->OER_PUBLIC_STATUS); if ($GLOBALS['perm']->have_perm("autor")) { $actions->addLink( _('Neues Lernmaterial hochladen'), $controller->url_for("oer/mymaterial/edit"), Icon::create("add", Icon::ROLE_CLICKABLE), ['data-dialog' => "1"] ); if (!$material['host_id'] && $material->isMine()) { $actions->addLink( _('Bearbeiten'), $controller->url_for("oer/mymaterial/edit/".$material->getId()), Icon::create("edit", Icon::ROLE_CLICKABLE), ['data-dialog' => "1"] ); } } if ($url && $material['filename']) { $actions->addLink( _('Herunterladen'), $url, Icon::create("download", Icon::ROLE_CLICKABLE) ); } if ($GLOBALS['perm']->have_perm("autor")) { $actions->addLink( _('Zu Veranstaltung hinzufügen'), $controller->url_for( "oer/market/add_to_course/" . $material->getId()), Icon::create("seminar", Icon::ROLE_CLICKABLE), ['data-dialog' => "1"] ); } if ($material['player_url'] || $material->isVideo() || $material->isPDF()) { $actions->addLink( _('Vollbild aktivieren'), "#", Icon::create('screen-full'), ['onclick' => "STUDIP.OER.requestFullscreen('.lernmarktplatz_player');"] ); } $actions->addLink( _('Teilen und einbetten'), $controller->url_for("oer/market/embed/".$material->getId()), Icon::create("code", Icon::ROLE_CLICKABLE), ['data-dialog' => "1"] ); if (!$material['host_id'] && ($GLOBALS['perm']->have_perm("root") || $material->isMine())) { $actions->addLink( _('Zugriffszahlen'), $controller->url_for("oer/mymaterial/statistics/".$material->getId()), Icon::create("graph", Icon::ROLE_CLICKABLE), ['data-dialog' => "1"] ); } Sidebar::Get()->addWidget($actions);