/** * Get node icon alt text * * @param array node array * @return string alt text */ function getNodeIconAlt($a_node) { global $lng; if ($a_node["child"] == $this->getNodeId($this->getRootNode())) { return $this->slm->getTitle(); } return parent::getNodeIconAlt($a_node); }
/** * Get node icon alt text * * @param array node array * @return string alt text */ function getNodeIconAlt($a_node) { global $lng; if ($a_node["child"] == $this->getNodeId($this->getRootNode())) { $title = $a_node["title"]; if ($title == "ILIAS") { $title = $lng->txt("repository"); } return $lng->txt("icon") . " " . $title; } return parent::getNodeIconAlt($a_node); }