| <?php 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' |
| |
| $pageTitle = "List of Eclipse Project Keys"; |
| $pageKeywords = ""; |
| $pageAuthor = "Bjorn Freeman-Benson Jan 2006"; |
| |
| ob_start(); |
| ?> |
| <div id="maincontent"> |
| <div id="midcolumn"> |
| <h1><?= $pageTitle ?></h1> |
| |
| <ul class="midlist"> |
| <?php |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/projects/projectList.class.php"); |
| $ProjectList = new ProjectList(); |
| $ProjectList->selectProjectList("", "", "", "", "", ""); |
| for($i = 0; $i < $ProjectList->getCount(); $i++) { |
| $Project = $ProjectList->getItemAt($i); |
| $projectName = $Project->getName(); |
| if( !(strpos( $Project->getProjectID(), "foundation-internal" ) === false) ) { |
| continue; |
| } |
| if( !(strpos( $projectName, "[archived]") === false) |
| && !(strpos( $projectName, "[closed]") === false) ) { |
| continue; |
| } |
| ?><li>Name: <b><?= $projectName ?></b> <br/> |
| Project id: <code><?= $Project->getProjectId() ?></code><br/> |
| Root URL: <code><?= $Project->getUrlIndex() ?></code><br/> |
| </li><?php |
| } |
| ?> |
| |
| </ul> |
| |
| </div> |
| </div> |
| <?php |
| # Paste your HTML content between the EOHTML markers! |
| $html = ob_get_contents(); |
| ob_end_clean(); |
| |
| # Generate the web page |
| $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |