public function showAdministrationPanel($tpl) { parent::showAdministrationPanel($tpl); //an ugly encapsulation violation in order to remove the "verknüpfen"/"link" and copy button. /** @var $toolbar ilToolbarGUI */ if (!($toolbar = $tpl->admin_panel_commands_toolbar)) { return; } if (is_array($toolbar->items)) { foreach ($toolbar->items as $key => $item) { if ($item["cmd"] == "link" || $item["cmd"] == "copy") { unset($toolbar->items[$key]); } } } }