/** * creates the code for a sitemap * * @return string * @permissions view */ protected function actionNavigationSitemap() { $strReturn = ""; //check rights on the navigation $objNavi = new class_module_navigation_tree($this->arrElementData["navigation_id"]); if ($objNavi->rightView() && $objNavi->getIntRecordStatus() == 1) { //create a stack to highlight the points being active $objActivePoint = $this->searchPageInNavigationTree($this->strCurrentSite, $this->arrElementData["navigation_id"], $this->getParam("systemid"), $this->getParam("action")); $strStack = $this->getActiveIdStack($objActivePoint); //build the navigation $strReturn = $this->sitemapRecursive(1, $this->arrTempNodes[$this->arrElementData["navigation_id"]], $strStack); } $strReturn = $this->addPortaleditorCode($strReturn); return $strReturn; }