/** * show glossary term */ function ilGlossary() { global $ilCtrl; require_once "./Modules/Glossary/classes/class.ilGlossaryTermGUI.php"; $term_gui = new ilGlossaryTermGUI($_GET["obj_id"]); // content style $this->tpl->setCurrentBlock("ContentStyle"); if (!$this->offlineMode()) { $this->tpl->setVariable("LOCATION_CONTENT_STYLESHEET", ilObjStyleSheet::getContentStylePath($this->lm->getStyleSheetId())); } else { $this->tpl->setVariable("LOCATION_CONTENT_STYLESHEET", "content_style/content.css"); } $this->tpl->parseCurrentBlock(); // syntax style $this->tpl->setCurrentBlock("SyntaxStyle"); if (!$this->offlineMode()) { $this->tpl->setVariable("LOCATION_SYNTAX_STYLESHEET", ilObjStyleSheet::getSyntaxStylePath()); } else { $this->tpl->setVariable("LOCATION_SYNTAX_STYLESHEET", "syntaxhighlight.css"); } $this->tpl->parseCurrentBlock(); $int_links = $term_gui->getInternalLinks(); $link_xml = $this->getLinkXML($int_links, $this->getLayoutLinkTargets()); $link_xml .= $this->getLinkTargetsXML(); $term_gui->setLinkXML($link_xml); $term_gui->setOfflineDirectory($this->getOfflineDirectory()); if (!$this->offlineMode()) { $ilCtrl->setParameter($this, "pg_type", "glo"); } $term_gui->output($this->offlineMode(), $this->tpl); if (!$this->offlineMode()) { $ilCtrl->setParameter($this, "pg_type", ""); } }
case "pg": require_once "./Modules/LearningModule/classes/class.ilLMPageObjectGUI.php"; ilLMPageObjectGUI::_goto($rest); break; // exception, must be kept for now // exception, must be kept for now case "st": require_once "./Modules/LearningModule/classes/class.ilStructureObjectGUI.php"; ilStructureObjectGUI::_goto($target_id, $additional); break; // exception, must be kept for now // exception, must be kept for now case "git": require_once "./Modules/Glossary/classes/class.ilGlossaryTermGUI.php"; $target_ref_id = $target_arr[2]; ilGlossaryTermGUI::_goto($target_id, $target_ref_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "glo": require_once "./Modules/Glossary/classes/class.ilObjGlossaryGUI.php"; ilObjGlossaryGUI::_goto($target_id); break; // please migrate to default branch implementation // please migrate to default branch implementation case "lm": case "dbk": require_once "./Modules/LearningModule/classes/class.ilObjContentObjectGUI.php"; ilObjContentObjectGUI::_goto($target_id); break; // please migrate to default branch implementation