setLinkList( array() ); $Nav->addNavSeparator("Work Areas", ""); $Nav->addCustomNav("Bundles", "http://eclipse.org/equinox/bundles", "_self", 1); $Nav->addCustomNav("Framework", "http://eclipse.org/equinox/framework", "_self", 1); $Nav->addCustomNav("Incubator", "http://eclipse.org/equinox/incubator", "_self", 1); $Nav->addCustomNav("p2", "http://eclipse.org/equinox/p2", "_self", 1); $Nav->addCustomNav("Security", "http://eclipse.org/equinox/security", "_self", 1); $Nav->addCustomNav("Server", "http://eclipse.org/equinox/server", "_self", 1); if (file_exists("component-links.php")) include "component-links.php"; else if (file_exists("../component-links.php")) include "../component-links.php"; $Nav->addNavSeparator("Related", ""); $Nav->addCustomNav("RT", "http://eclipse.org/rt", "_self", 1); $Nav->addCustomNav("Eclipse", "http://eclipse.org/eclipse", "_self", 1); $Nav->addCustomNav("PDE", "http://eclipse.org/pde", "_self", 1); $Nav->addCustomNav("RAP", "http://eclipse.org/rap", "_self", 1); $Nav->addCustomNav("ECF", "http://eclipse.org/ecf", "_self", 1); $Nav->addCustomNav("Development", "http://eclipse.org/eclipse/development", "_self", 1); $Menu->setMenuItemList( array() ); $Menu->addMenuItem( "Home", "http://eclipse.org/equinox/", "_self" ); $Menu->addMenuItem( "Get Started", "http://eclipse.org/equinox/documents/quickstart.php", "_self" ); $Menu->addMenuItem( "Downloads", "http://download.eclipse.org/equinox", "_self" ); $Menu->addMenuItem( "Documents", "http://eclipse.org/equinox/documents/", "_self" ); $Menu->addMenuItem( "Resources", "http://eclipse.org/equinox/resources.php", "_self" ); $Menu->addMenuItem( "FAQ", "http://eclipse.org/equinox/faq.php", "_self" ); $Menu->addMenuItem( "Wiki", "http://wiki.eclipse.org/Equinox", "_self" ); $App->AddExtraHtmlHeader( '' ); $App->AddExtraHtmlHeader( '' ); $App->AddExtraHtmlHeader( '' ); $App->AddExtraHtmlHeader( ''); $App->AddExtraHtmlHeader( '' ); $App->AddExtraHtmlHeader( '' ); $App->AddExtraHtmlHeader( '' ); // $App->Promotion = TRUE; # set true to enable current eclipse.org site-wide promo function createRapNavigation() { $html = << EOHTML; return $html; } function generateRapPage( $App, $Menu, $Nav, $author, $keywords, $title, $html ) { $theme = "Nova"; $pageHtml = createRapNavigation() . $html; //echo ("DOCUMENT_ROOT: " . $_SERVER['DOCUMENT_ROOT']."
"); //$pageHtml .= file_get_contents($_SERVER['HTTP_HOST'] . "/equinox/right-links.html"); $pageHtml .= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/equinox/right-links.html"); $App->generatePage( $theme, $Menu, $Nav, $author, $keywords, $title, $pageHtml ); } function xslt( $xmlFile, $xslFile ) { $xslDoc = new DOMDocument(); $xslDoc->load( $xslFile ); $xmlDoc = new DOMDocument(); $xmlDoc->load( $xmlFile ); $proc = new XSLTProcessor(); $proc->importStylesheet( $xslDoc ); return $proc->transformToXML( $xmlDoc ); } ?>