/** * Set sub tabs */ function setSettingsSubTabs($a_active) { global $ilTabs, $ilCtrl, $lng; if (in_array($a_active, array("general_settings", "style", "taxonomy"))) { // general properties $ilTabs->addSubTab("general_settings", $lng->txt("settings"), $ilCtrl->getLinkTarget($this, 'properties')); // style properties $ilTabs->addSubTab("style", $lng->txt("obj_sty"), $ilCtrl->getLinkTarget($this, 'editStyleProperties')); // taxonomy include_once "./Services/Taxonomy/classes/class.ilObjTaxonomy.php"; ilObjTaxonomy::loadLanguageModule(); $ilTabs->addSubTab("taxonomy", $lng->txt("tax_taxonomy"), $ilCtrl->getLinkTargetByClass("ilobjtaxonomygui", '')); $ilTabs->activateSubTab($a_active); } }