diff --git a/app/views/file/add_files_window.php b/app/views/file/add_files_window.php index bdfbca58ae278e76e0449d7e5042df02cf1f91fa..94ad52052c441fe39ddaa5096ed8113478b5d0ea 100644 --- a/app/views/file/add_files_window.php +++ b/app/views/file/add_files_window.php @@ -59,7 +59,7 @@ if ($folder_id) { <? if (Config::get()->OERCAMPUS_ENABLED && $GLOBALS['perm']->have_perm(Config::get()->OERCAMPUS_PUBLIC_STATUS)) : ?> <a href="<?= $controller->link_for('oer/addfile/choose_file', array_merge($options, ['from_plugin' => ""])) ?>" data-dialog="height=800"> - <?= Icon::create('service', Icon::ROLE_CLICKABLE)->asImg(50) ?> + <?= Icon::create('oer-campus')->asImg(50) ?> <?= htmlReady(Config::get()->OER_TITLE) ?> </a> <? endif ?> diff --git a/app/views/oer/embed/_link.php b/app/views/oer/embed/_link.php index 33ccc8019455a56569d11e2eb35317db9d2cdaf6..ff32f89381787189bfc55c95b807b46655b4f6ba 100644 --- a/app/views/oer/embed/_link.php +++ b/app/views/oer/embed/_link.php @@ -1,7 +1,7 @@ <div style="text-align: right;"> <a href="<?= URLHelper::getLink("dispatch.php/oer/market/details/{$id}") ?>" title="<?= htmlReady(sprintf(_('Zum %s wechseln'), Config::get()->OER_TITLE)) ?>"> - <?= Icon::create('service')->asImg(['class' => 'text-bottom']) ?> + <?= Icon::create('oer-campus')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($material['name']) ?> </a> </div> diff --git a/lib/filesystem/StandardFile.php b/lib/filesystem/StandardFile.php index f941008a57896634187dee357ad72ec814b1f0a6..0e09090e5a127ae081fdf9e5a0ab873c71bff69b 100644 --- a/lib/filesystem/StandardFile.php +++ b/lib/filesystem/StandardFile.php @@ -297,7 +297,7 @@ class StandardFile implements FileType, ArrayAccess $actionMenu->addLink( URLHelper::getURL('dispatch.php/file/share_oer/' . $this->fileref->id), _('Im OER Campus veröffentlichen'), - Icon::create('service', Icon::ROLE_CLICKABLE, ['size' => 20]), + Icon::create('oer-campus'), ['data-dialog' => '1'] ); } diff --git a/lib/models/OERMaterial.php b/lib/models/OERMaterial.php index cce8c24366f6034bcfc929089557aadcb24b0536..65acaa4e953e234a00bbca89f5ee81dd8228c74a 100755 --- a/lib/models/OERMaterial.php +++ b/lib/models/OERMaterial.php @@ -148,11 +148,6 @@ class OERMaterial extends SimpleORMap ? $material->host->url."download/".$material['foreign_material_id'] : URLHelper::getURL("dispatch.php/oer/endpoints/download/".$material->getId()); - - $right_link = '<div style="text-align: right;">'; - $right_link .= '<a href="'.URLHelper::getLink("dispatch.php/oer/market/details/".$id).'" title="'._("Zum OER Campus").'">'.Icon::create("service", "clickable")->asImg(16, ['class' => "text-bottom"])." ".htmlReady($material['name']).'</a>'; - - if ($material['player_url'] || $material->isPDF()) { if ($material['player_url']) { OERDownloadcounter::addCounter($material->id);