getNodeById($menuNode,4); } catch (Exception $e) { $thisnode = $nodecache->getNodeById($menuNode,10); } $RootMenuNode = $nodecache->getNodeById(2,4); $ContentNode = $thisnode; # Process Alias Property $getAlias = $ContentNode->getPropertyByType('aliasfortemplate'); if ($getAlias != '') { $ContentNode = $nodecache->getNodeByOntoRef($getAlias->getValue()); } $thisnode->loadInheritedProperties(); $ContentNode->loadInheritedProperties(); $authnode = $thisnode->getPropertyByType('RequireAuth',''); if ($authnode != '') { include_once('OntoCMS/OntoCMSAuth.php'); $authOBJ = new OntoCMSAuth(); $actuser = $authOBJ->AuthOntoCMS($authnode->getNode(),'ThisNodeRef'); if ($actuser) { # echo $actuser; } else { echo "Sorry Authentication failed"; exit; } } # Process Redirect $redirectTo = $thisnode->getPropertyByType('RedirectTo',null); if ($redirectTo) { redirectTo($redirectTo->getOriginalValue()); } $module = false; if ($ContentNode->getPropertyByType(array($lng."Rzkmodule","NotAutoContentTitle"),"nomodule") != "nomodule") {$module = true; } $checkarray = array(); # Direct Changes to us: $checkarray['START'] = array($lng.'HTML','externalLink','htmlCode','image_gallery','LinkTippTemplate','printSubItems','internal_flash','Video','VideoLink','Panorama','PanoramaLink','guestbookRef',$lng.'Rzkmodule','FeedOntoREF',$lng.'Internal_pdf','PRINTSUBMAP','internal_image'); # If there is a Object Property which referneces a node with the BaseReference internal_template we are interested in: $checkarray['internal_template'] = array($lng.'KurzText','KurztextBild'); # If there is a Object Property which referneces a node with the BaseReference internal_image we are interested in: $checkarray['internal_image'] = array($lng.'BildTitel',$lng.'Bildbeschreibung'); header('Last-Modified: '.gmdate('D, d M Y H:i:s', $ContentNode->getUnixTotalModDate(array('image_gallery','printSubItems'),0,$checkarray)).' GMT'); $kaerntnerhausnode = $nodecache->getNodeById(74,4); $troadkastnsnode = $nodecache->getNodeById(8,4); ############################################################################################################## ?>