| <?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(); $theme = "Phoenix"; include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop' |
| |
| #***************************************************************************** |
| # |
| # index.php |
| # |
| # Author: Ian Skerrett |
| # Date: 2008-06-18 |
| # |
| # Description: EclipseRT Getting Started Page |
| # |
| #**************************************************************************** |
| # |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "EclipseRT Participate"; |
| $pageKeywords = "eclipse, eclipsert, equinoix, osgi"; |
| $pageAuthor = "Eclipse Foundation, Inc."; |
| |
| # Add page-specific Nav bars here |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank) |
| # $Nav->addCustomNav("My Link", "mypage.php", "_self"); |
| # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank"); |
| |
| # End: page-specific settings |
| # |
| $documentRoot = $_SERVER['DOCUMENT_ROOT']; |
| require_once($documentRoot . '/home/categories/scripts/globals.php'); |
| require_once($documentRoot . '/home/categories/scripts/projectstableNew.php'); |
| |
| ob_start(); |
| ?> |
| <link rel="stylesheet" type="text/css" href="/eclipse.org-common/yui/2.6.0/build/container/assets/skins/sam/container.css" /> |
| <link rel="stylesheet" type="text/css" href="../layout-new.css" media="screen" /> |
| <div id="fullcolumn"> |
| <div id="midcolumn"> |
| <h1>Participate</h1> |
| |
| <h2>Projects</h2> |
| <?=projectTable($categoriesArray['equinox']['projectInfo']);?> |
| </div> |
| </div> |
| |
| <script language="javascript"> |
| function t(i, j) { |
| var e = document.getElementById(i); |
| var f = document.getElementById(j); |
| var t = e.className; |
| if (t.match('invisible')) { t = t.replace(/invisible/gi, 'visible'); } |
| else { t = t.replace(/visible/gi, 'invisible'); } |
| e.className = t; |
| f.className = t; |
| } |
| function t_r(i, j) { |
| var e = document.getElementById(i); |
| var f = document.getElementById(j); |
| var t = e.className; |
| if (t.match('invisible')) { t = t.replace(/invisible/gi, 'visible'); readDescription(i, f);} |
| else { t = t.replace(/visible/gi, 'invisible'); } |
| e.className = t; |
| f.className = t; |
| } |
| function readDescription(id, target) { |
| if (target.innerHTML) return; |
| target.innerHTML = '<div class="item_contents"><p>Loading...</p></div>'; |
| var transaction = YAHOO.util.Connect.asyncRequest('GET', |
| '/resources/description.php?id=' + id, |
| {success:function(req){ target.innerHTML = '<div class="item_contents">' + req.responseText + '</div>'; }}, |
| null); |
| } |
| </script> |
| <!-- Individual YUI JS files --> |
| <script type="text/javascript" src="/eclipse.org-common/yui/2.6.0/build/utilities/utilities.js"></script> |
| <script type="text/javascript" src="/eclipse.org-common/yui/2.6.0/build/container/container-min.js"></script> |
| <script language="javascript" src="../scripts/functions.js"></script> |
| <? |
| $html = ob_get_clean(); |
| # Generate the web page |
| $App->Promotion = TRUE; |
| $App->AddExtraHtmlHeader('<link type="text/css" href="style.css" rel="stylesheet"/>'); |
| $App->generatePage("Nova", $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html); |
| ?> |