| <?php | |
| ini_set('display_errors', 1); ini_set('error_reporting', E_ALL); | |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' | |
| # Begin: page-specific settings. Change these. | |
| $pageTitle = "Eclipse RT Project"; | |
| $pageKeywords = "equinox, osgi, framework, runtime"; | |
| $html = file_get_contents( '_index.html' ); | |
| $Nav = null; // delete right side navigation | |
| $App->AddExtraHtmlHeader( '<link rel="stylesheet" type="text/css" href="/rt/rap-big-header.css"/>' ); | |
| $App->AddExtraHtmlHeader( '<link rel="stylesheet" type="text/css" href="/rt/rap-posts.css"/>' ); | |
| require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/rss.php"); | |
| // $rtnews = rss_to_html($_SERVER['DOCUMENT_ROOT'] . "/rt/rt.rss", "/rt/rt.rss", false, "short", "5"); | |
| $App->useProjectInfo(); | |
| function load_project_info() { | |
| $result = "<ul>"; | |
| printf($result); | |
| $projectInfo = new ProjectInfoData('rt.ecf'); | |
| $paraURL = $projectInfo->__get("paragraphurl"); | |
| echo $paraURL; | |
| printf($paraURL); | |
| if ($paraURL) { | |
| $result .= "/n/t<li>"; | |
| $result .= file_get_contents($paraURL); | |
| $result .= "</li>"; | |
| } | |
| $result .= "</ul>"; | |
| return $result; | |
| } | |
| $projectList = load_project_info(); | |
| $html .= $projectList; | |
| generateRapPage( $App, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html ); | |
| ?> |