Bug 438205 - Convert Orbit web pages to solstice theme
diff --git a/.project b/.project
index b7da1a8..6a1743a 100644
--- a/.project
+++ b/.project
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>orbit</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
+ <name>orbit</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
</projectDescription>
diff --git a/_projectCommon.php b/_projectCommon.php
index 1a0b556..0cb45d3 100644
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -1,22 +1,10 @@
<?php
- # set default theme
- $_theme = "Nova";
- $theme = "";
- if(isset($_POST['theme'])) {
- $_theme = $_POST['theme'];
- }
- if($_theme != "" && $App->isValidTheme($_theme)) {
- setcookie("theme", $_theme);
- $theme = $_theme;
- }
- else {
- # Get theme from browser, or none default
- $theme = $App->getUserPreferedTheme();
- }
+ # set default theme
+ $theme = "solstice";
- # Define your project-wide Nav bars here.
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- $Nav->addNavSeparator("Orbit Home", "/orbit");
- $App->ExtraHtmlHeaders = '<link rel="stylesheet" type="text/css" href="/orbit/orbit.css">';
+ # Define your project-wide Nav bars here.
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ $Nav->addNavSeparator("Orbit Home", "/orbit");
+ $App->ExtraHtmlHeaders = '<link rel="stylesheet" type="text/css" href="/orbit/orbit.css">';
?>
diff --git a/description.php b/description.php
index 8c0235e..b659e57 100644
--- a/description.php
+++ b/description.php
@@ -1,45 +1,45 @@
-<?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'
+<?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'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit";
- $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
-
- # Add page-specific Nav bars here
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- # $Nav->addNavSeparator("My Page Links", "downloads.php");
- # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit";
+ $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
- # End: page-specific settings
- #
-
- # Paste your HTML content between the markers!
+ # End: page-specific settings
+ #
+
+ # Paste your HTML content between the markers!
ob_start();
- $Nav->setLinkList( array() );
- $Nav->addNavSeparator( "Orbit", "/orbit" );
- $Nav->addCustomNav( "About This Project",
+ $Nav->setLinkList( array() );
+ $Nav->addNavSeparator( "Orbit", "/orbit" );
+ $Nav->addCustomNav( "About This Project",
"/projects/project_summary.php?projectid=tools.orbit", "", 1 );
-?>
+?>
- <div id="midcolumn">
- <p>This project will provide a repository of bundled versions of third party
- libraries that are approved for use in one or more Eclipse projects.</p>
- </div>
+ <div id="midcolumn">
+ <p>This project will provide a repository of bundled versions of third party
+ libraries that are approved for use in one or more Eclipse projects.</p>
+ </div>
<?php
- $html = ob_get_contents();
- ob_end_clean();
-
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ $html = ob_get_contents();
+ ob_end_clean();
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/documents/index.php b/documents/index.php
index aa2909c..ff0bbb0 100644
--- a/documents/index.php
+++ b/documents/index.php
@@ -1,57 +1,57 @@
-<?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'
+<?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'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit Documents";
- $pageKeywords = "Orbit, bundles, documents";
-
- # Add page-specific Nav bars here
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- # $Nav->addNavSeparator("My Page Links", "downloads.php");
- # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit Documents";
+ $pageKeywords = "Orbit, bundles, documents";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
- # End: page-specific settings
- #
-
- # Paste your HTML content between the markers!
+ # End: page-specific settings
+ #
+
+ # Paste your HTML content between the markers!
ob_start();
-?>
+?>
- <div id="midcolumn">
- <h1><?= $pageTitle ?></h1>
+ <div id="midcolumn">
+ <h1><?= $pageTitle ?></h1>
- <p class=bar>Documents</p>
- <ul>
- <li><a href="RCP_Chapter20.pdf"><i>Integrating Code Libraries</i></a> A chapter from the <a href="http://eclipsercp.org">Eclipse RCP book</a>.</li>
- <li><a href="http://eclipse.org/proposals/orbit/">The original Orbit project proposal.</a></li>
- </ul>
+ <p class=bar>Documents</p>
+ <ul>
+ <li><a href="RCP_Chapter20.pdf"><i>Integrating Code Libraries</i></a> A chapter from the <a href="http://eclipsercp.org">Eclipse RCP book</a>.</li>
+ <li><a href="http://eclipse.org/proposals/orbit/">The original Orbit project proposal.</a></li>
+ </ul>
- <p class=bar>Meeting Minutes</p>
- <ul>
- <li> <a href="http://wiki.eclipse.org/index.php/Orbit#Meeting_minutes">Meeting Minutes are on the Orbit Wiki.</a></li>
- </ul>
+ <p class=bar>Meeting Minutes</p>
+ <ul>
+ <li> <a href="http://wiki.eclipse.org/index.php/Orbit#Meeting_minutes">Meeting Minutes are on the Orbit Wiki.</a></li>
+ </ul>
- <p class=bar>Related Documents</p>
- <ul>
- <li> <a href="http://osgi.org/osgi_technology/download_specs.asp?section=2">OSGi specifications</a></li>
- </ul>
- </div>
+ <p class=bar>Related Documents</p>
+ <ul>
+ <li> <a href="http://osgi.org/osgi_technology/download_specs.asp?section=2">OSGi specifications</a></li>
+ </ul>
+ </div>
<?php
- include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
- include "dir-links.html";
+ include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
+ include "dir-links.html";
?>
<?php
- $html = ob_get_contents();
- ob_end_clean();
+ $html = ob_get_contents();
+ ob_end_clean();
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/documents/minutes-061024.php b/documents/minutes-061024.php
index 5104c9d..6b9b8cf 100644
--- a/documents/minutes-061024.php
+++ b/documents/minutes-061024.php
@@ -1,30 +1,30 @@
-<?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'
+<?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'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit Call Minutes 061024";
- $pageKeywords = "Orbit, bundles, documents, minutes";
-
- # Add page-specific Nav bars here
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- # $Nav->addNavSeparator("My Page Links", "downloads.php");
- # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit Call Minutes 061024";
+ $pageKeywords = "Orbit, bundles, documents, minutes";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
- # End: page-specific settings
- #
-
- # Paste your HTML content between the markers!
+ # End: page-specific settings
+ #
+
+ # Paste your HTML content between the markers!
ob_start();
-?>
+?>
- <div id="midcolumn">
- <h1><?= $pageTitle ?></h1>
+ <div id="midcolumn">
+ <h1><?= $pageTitle ?></h1>
Oct 24, 2006 @ 1400ET
@@ -127,17 +127,17 @@
- </div>
+ </div>
<?php
- include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
- include "dir-links.html";
+ include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
+ include "dir-links.html";
?>
<?php
- $html = ob_get_contents();
- ob_end_clean();
+ $html = ob_get_contents();
+ ob_end_clean();
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/global-links.html b/global-links.html
index b5e64aa..ccb4ce3 100644
--- a/global-links.html
+++ b/global-links.html
@@ -1,13 +1,13 @@
<div id="rightcolumn">
- <div class="sideitem">
- <h6>Orbit links</h6>
- <ul>
- <li><a href="http://eclipse.org/orbit/">home</a></li>
- <li><a href="http://wiki.eclipse.org/index.php/Orbit">wiki</a></li>
- <li><a href="http://eclipse.org/orbit/documents/">documents</a></li>
- <li><a href="http://download.eclipse.org/tools/orbit">downloads</a></li>
- <li><a href="http://eclipse.org/orbit/resources.php">resources</a></li>
- <li><a href="http://wiki.eclipse.org/index.php/Orbit_Faq">faq</a></li>
- </ul>
- </div>
+ <div class="sideitem">
+ <h6>Orbit links</h6>
+ <ul>
+ <li><a href="http://eclipse.org/orbit/">home</a></li>
+ <li><a href="http://wiki.eclipse.org/index.php/Orbit">wiki</a></li>
+ <li><a href="http://eclipse.org/orbit/documents/">documents</a></li>
+ <li><a href="http://download.eclipse.org/tools/orbit">downloads</a></li>
+ <li><a href="http://eclipse.org/orbit/resources.php">resources</a></li>
+ <li><a href="http://wiki.eclipse.org/index.php/Orbit_Faq">faq</a></li>
+ </ul>
+ </div>
</div>
diff --git a/index.php b/index.php
index 2c07765..6ea4a05 100644
--- a/index.php
+++ b/index.php
@@ -1,69 +1,69 @@
-<?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'
+<?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'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit";
- $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
-
- # Add page-specific Nav bars here
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- # $Nav->addNavSeparator("My Page Links", "downloads.php");
- # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit";
+ $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
- # End: page-specific settings
- #
-
- # Paste your HTML content between the markers!
+ # End: page-specific settings
+ #
+
+ # Paste your HTML content between the markers!
ob_start();
- $Nav->setLinkList( array() );
- $Nav->addNavSeparator( "Orbit", "/orbit" );
- $Nav->addCustomNav( "About This Project",
+ $Nav->setLinkList( array() );
+ $Nav->addNavSeparator( "Orbit", "/orbit" );
+ $Nav->addCustomNav( "About This Project",
"/projects/project_summary.php?projectid=tools.orbit", "", 1 );
-?>
+?>
- <div id="midcolumn">
- <h1><?= $pageTitle ?></h1>
- <p class=bar>Mission Statement</p>
- <p>This project will provide a repository of bundled versions of third party
- libraries that are approved for use in one or more Eclipse projects. The
- repository will maintain old versions of such libraries to facilitate rebuilding
- historical output. It will also clearly indicate the status of the library
- (i.e., the approved scope of use). The repository will be structured such
- that the contained bundles are easily obtained and added to a developer's
- workspace or target platform.</p>
- <p>Read more in the <a href="overview.php">Orbit overview</a>.
- <p><b>Note:</b> The Orbit mandate does not allow the project to be used for building or
- maintaining third-party libraries that are not approved by the Eclipse foundation for use in
- Eclipse projects.</p>
+ <div id="midcolumn">
+ <h1><?= $pageTitle ?></h1>
+ <p class=bar>Mission Statement</p>
+ <p>This project will provide a repository of bundled versions of third party
+ libraries that are approved for use in one or more Eclipse projects. The
+ repository will maintain old versions of such libraries to facilitate rebuilding
+ historical output. It will also clearly indicate the status of the library
+ (i.e., the approved scope of use). The repository will be structured such
+ that the contained bundles are easily obtained and added to a developer's
+ workspace or target platform.</p>
+ <p>Read more in the <a href="overview.php">Orbit overview</a>.
+ <p><b>Note:</b> The Orbit mandate does not allow the project to be used for building or
+ maintaining third-party libraries that are not approved by the Eclipse foundation for use in
+ Eclipse projects.</p>
- <p class=bar>Getting Started and Getting Involved</p>
- <p>Anyone is welcome to participate in Orbit. For the most part the Orbit committers are
- also committers on other Eclipse projects since Orbit's mission is to provide third-party libraries
- as needed in other Eclipse projects. However, if you want to help out a project by
- bundling a library that they need (and have approved), please post a message on the
- <a href="mailto:orbit-dev@eclipse.org">Orbit</a> mailing list.</p>
+ <p class=bar>Getting Started and Getting Involved</p>
+ <p>Anyone is welcome to participate in Orbit. For the most part the Orbit committers are
+ also committers on other Eclipse projects since Orbit's mission is to provide third-party libraries
+ as needed in other Eclipse projects. However, if you want to help out a project by
+ bundling a library that they need (and have approved), please post a message on the
+ <a href="mailto:orbit-dev@eclipse.org">Orbit</a> mailing list.</p>
- </div>
+ </div>
<?php
- include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
- include "dir-links.html";
+ include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
+ include "dir-links.html";
?>
<?php
- $html = ob_get_contents();
- ob_end_clean();
-
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ $html = ob_get_contents();
+ ob_end_clean();
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/ip_log/classes.php b/ip_log/classes.php
index 108f70e..ce31342 100644
--- a/ip_log/classes.php
+++ b/ip_log/classes.php
@@ -11,43 +11,43 @@
*******************************************************************************/
class info {
- var $name;
- var $origin;
- var $reference;
- var $repository;
- var $location;
- var $tag;
+ var $name;
+ var $origin;
+ var $reference;
+ var $repository;
+ var $location;
+ var $tag;
}
class contact {
- var $name;
- var $email;
- var $company;
+ var $name;
+ var $email;
+ var $company;
}
class legal {
- var $ipzilla;
- var $license;
- var $package;
+ var $ipzilla;
+ var $license;
+ var $package;
}
class license {
- var $name;
- var $reference;
+ var $name;
+ var $reference;
}
/*
*/
class project {
- // attributes
- var $id;
- var $version;
- var $status;
+ // attributes
+ var $id;
+ var $version;
+ var $status;
- // elements
- var $info;
- var $contact;
- var $notes;
- var $legal;
+ // elements
+ var $info;
+ var $contact;
+ var $notes;
+ var $legal;
}
?>
\ No newline at end of file
diff --git a/ip_log/index.php b/ip_log/index.php
index ee87a2d..ed68900 100644
--- a/ip_log/index.php
+++ b/ip_log/index.php
@@ -1,47 +1,47 @@
-IP Log InfoIP Log Info<?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'
+IP Log InfoIP Log Info<?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'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit IP Log Information";
- $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
-
- # Add page-specific Nav bars here
- # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
- # $Nav->addNavSeparator("My Page Links", "downloads.php");
- # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit IP Log Information";
+ $pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
+
+ # Add page-specific Nav bars here
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+ # $Nav->addNavSeparator("My Page Links", "downloads.php");
+ # $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+ # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
- # End: page-specific settings
- #
-
- # Paste your HTML content between the markers!
+ # End: page-specific settings
+ #
+
+ # Paste your HTML content between the markers!
ob_start();
-?>
+?>
- <div id="midcolumn">
- <h1><?= $pageTitle ?></h1>
- Orbit is essentially a repository of bundles containing third-party code. Here is a list
- of the bundles currently in Orbit, as well as their associated legal information.
- <p>
- <!-- INSERT CODE HERE -->
- <?php include "ip_log_code.php"?>
+ <div id="midcolumn">
+ <h1><?= $pageTitle ?></h1>
+ Orbit is essentially a repository of bundles containing third-party code. Here is a list
+ of the bundles currently in Orbit, as well as their associated legal information.
+ <p>
+ <!-- INSERT CODE HERE -->
+ <?php include "ip_log_code.php"?>
- </div>
+ </div>
<?php
- include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
- include "dir-links.html";
+ include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
+ include "dir-links.html";
?>
<?php
- $html = ob_get_contents();
- ob_end_clean();
+ $html = ob_get_contents();
+ ob_end_clean();
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/ip_log/ip_log_code.php b/ip_log/ip_log_code.php
index 0493d97..cea926c 100644
--- a/ip_log/ip_log_code.php
+++ b/ip_log/ip_log_code.php
@@ -19,9 +19,9 @@
$file_names = array();
$handle = opendir(".");
while (false !== ($file = readdir($handle))) {
- if (is_file($file) && ereg("\.ip_log",$file)) {
- array_push($file_names, $file);
- }
+ if (is_file($file) && ereg("\.ip_log",$file)) {
+ array_push($file_names, $file);
+ }
}
closedir($handle);
@@ -29,12 +29,12 @@
echo "<table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH=\"100%\" >\n";
foreach ($file_names as $file) {
- $file = trim($file);
- debug("Processing file: ".$file);
- $project_versions = parse($file);
- foreach ($project_versions as $project) {
- printProject($project);
- }
+ $file = trim($file);
+ debug("Processing file: ".$file);
+ $project_versions = parse($file);
+ foreach ($project_versions as $project) {
+ printProject($project);
+ }
}
echo "</table>";
@@ -42,44 +42,44 @@
* Print out the given project as an element in the enclosing table.
*/
function printProject($project) {
- echo "<tr>\n";
- echo "<td width=\"2%\" align=RIGHT valign=TOP><img src=\"http://eclipse.org/images/Adarrow.gif\" width=\"16\" height=\"16\" border=\"0\"></td>\n";
- echo "<td width=\"98%\">";
- echo "<strong><a href=\"".$project->info->reference."\">".$project->info->name."</a> version ".$project->version." ";
- echo "<a href=\"http://dev.eclipse.org/viewcvs/index.cgi/".$project->info->location."/?root=Tools_Project&pathrev=".$project->info->tag."\" style=\"text-decoration: none\">(".$project->id.")</a> ";
- $colour;
- switch ($project->status) {
- case STATUS_DONE :
- $colour=green;
- break;
- default :
- $colour=red;
- break;
- }
- echo " <font color=".$colour.">status:".$colour."</font></strong><br>";
- if (isSet($project->legal)) {
- foreach ($project->legal as $legal) {
- echo tab()."<strong>License:</strong> ";
- if (isSet($legal->package)) {
- echo "(".$legal->package.")";
- }
- echo " <a href=\"".$legal->license->reference."\">".$legal->license->name."</a>";
- echo " (<a href=\"https://dev.eclipse.org/ipzilla/show_bug.cgi?id=".$legal->ipzilla."\">IPZilla</a>)<br>\n";
- }
- }
- echo tab()."<strong>Contact:</strong> <a href=\"mailto:".$project->contact->email."\">".$project->contact->name."</a> (".$project->contact->company.")<br>\n";
- foreach ($project->notes as $note) {
- echo tab()."<strong>Note:</strong> ".$note."<p>\n";
- }
- echo "\n</td>\n";
- echo "</tr>\n";
+ echo "<tr>\n";
+ echo "<td width=\"2%\" align=RIGHT valign=TOP><img src=\"http://eclipse.org/images/Adarrow.gif\" width=\"16\" height=\"16\" border=\"0\"></td>\n";
+ echo "<td width=\"98%\">";
+ echo "<strong><a href=\"".$project->info->reference."\">".$project->info->name."</a> version ".$project->version." ";
+ echo "<a href=\"http://dev.eclipse.org/viewcvs/index.cgi/".$project->info->location."/?root=Tools_Project&pathrev=".$project->info->tag."\" style=\"text-decoration: none\">(".$project->id.")</a> ";
+ $colour;
+ switch ($project->status) {
+ case STATUS_DONE :
+ $colour=green;
+ break;
+ default :
+ $colour=red;
+ break;
+ }
+ echo " <font color=".$colour.">status:".$colour."</font></strong><br>";
+ if (isSet($project->legal)) {
+ foreach ($project->legal as $legal) {
+ echo tab()."<strong>License:</strong> ";
+ if (isSet($legal->package)) {
+ echo "(".$legal->package.")";
+ }
+ echo " <a href=\"".$legal->license->reference."\">".$legal->license->name."</a>";
+ echo " (<a href=\"https://dev.eclipse.org/ipzilla/show_bug.cgi?id=".$legal->ipzilla."\">IPZilla</a>)<br>\n";
+ }
+ }
+ echo tab()."<strong>Contact:</strong> <a href=\"mailto:".$project->contact->email."\">".$project->contact->name."</a> (".$project->contact->company.")<br>\n";
+ foreach ($project->notes as $note) {
+ echo tab()."<strong>Note:</strong> ".$note."<p>\n";
+ }
+ echo "\n</td>\n";
+ echo "</tr>\n";
}
/*
* Helper method to return a bunch of spaces.
*/
function tab() {
- return " ";
+ return " ";
}
/*
@@ -87,8 +87,8 @@
* You can get into debug mode by setting ?debug=true in the URL.
*/
function debug($str) {
- global $debug;
- if (isset($debug)) echo $str."<br>\n";
+ global $debug;
+ if (isset($debug)) echo $str."<br>\n";
}
?>
\ No newline at end of file
diff --git a/ip_log/org.apache.xerces.ip_log b/ip_log/org.apache.xerces.ip_log
index 68b60ab..e387e0c 100644
--- a/ip_log/org.apache.xerces.ip_log
+++ b/ip_log/org.apache.xerces.ip_log
@@ -1,70 +1,70 @@
<ip_log version ="1.0">
- <project id="org.apache.xerces" version="2.8.0" status="done">
- <info>
- <name>Apache Xerces</name>
- <origin>Apache</origin>
- <reference>http://xerces.apache.org</reference>
- <repository>/cvsroot/tools</repository>
- <location>org.eclipse.orbit/org.apache.xerces</location>
- <tag>v2_8_0</tag>
- </info>
- <contact>
- <name>Joe Smith</name>
- <email>joe@exmample.com</email>
- <company>Example Company</company>
- </contact>
- <notes>
- <note>We use this bundle for parsing XML.</note>
- </notes>
- <legal>
- <ipzilla bug_id="103"/>
- <license>
- <name>Apache License Version 2.0</name>
- <reference>http://apache.org/licenses/LICENSE-2.0</reference>
- </license>
- <package>xerces-apis.jar</package>
- </legal>
- <legal>
- <ipzilla bug_id="1234"/>
- <license>
- <name>Apache License Version 2.1</name>
- <reference>http://apache.org/licenses/LICENSE-2.1</reference>
- </license>
- <package>xerces-impl.jar</package>
- </legal>
- </project>
- <project id="org.apache.xerces" version="2.8.1" status="done">
- <info>
- <name>Apache Xerces</name>
- <origin>Apache</origin>
- <reference>http://xerces.apache.org</reference>
- <repository>/cvsroot/tools</repository>
- <location>org.eclipse.orbit/org.apache.xerces</location>
- <tag>v2_8_1</tag>
- </info>
- <contact>
- <name>Joe Smith</name>
- <email>joe@exmample.com</email>
- <company>Example Company</company>
- </contact>
- <notes>
- <note>We use this bundle for parsing XML.</note>
- </notes>
- <legal>
- <ipzilla bug_id="1031"/>
- <license>
- <name>Apache License Version 2.0</name>
- <reference>http://apache.org/licenses/LICENSE-2.0</reference>
- </license>
- <package>xerces-apis.jar</package>
- </legal>
- <legal>
- <ipzilla bug_id="12341"/>
- <license>
- <name>Apache License Version 2.1</name>
- <reference>http://apache.org/licenses/LICENSE-2.1</reference>
- </license>
- <package>xerces-impl.jar</package>
- </legal>
- </project>
+ <project id="org.apache.xerces" version="2.8.0" status="done">
+ <info>
+ <name>Apache Xerces</name>
+ <origin>Apache</origin>
+ <reference>http://xerces.apache.org</reference>
+ <repository>/cvsroot/tools</repository>
+ <location>org.eclipse.orbit/org.apache.xerces</location>
+ <tag>v2_8_0</tag>
+ </info>
+ <contact>
+ <name>Joe Smith</name>
+ <email>joe@exmample.com</email>
+ <company>Example Company</company>
+ </contact>
+ <notes>
+ <note>We use this bundle for parsing XML.</note>
+ </notes>
+ <legal>
+ <ipzilla bug_id="103"/>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <reference>http://apache.org/licenses/LICENSE-2.0</reference>
+ </license>
+ <package>xerces-apis.jar</package>
+ </legal>
+ <legal>
+ <ipzilla bug_id="1234"/>
+ <license>
+ <name>Apache License Version 2.1</name>
+ <reference>http://apache.org/licenses/LICENSE-2.1</reference>
+ </license>
+ <package>xerces-impl.jar</package>
+ </legal>
+ </project>
+ <project id="org.apache.xerces" version="2.8.1" status="done">
+ <info>
+ <name>Apache Xerces</name>
+ <origin>Apache</origin>
+ <reference>http://xerces.apache.org</reference>
+ <repository>/cvsroot/tools</repository>
+ <location>org.eclipse.orbit/org.apache.xerces</location>
+ <tag>v2_8_1</tag>
+ </info>
+ <contact>
+ <name>Joe Smith</name>
+ <email>joe@exmample.com</email>
+ <company>Example Company</company>
+ </contact>
+ <notes>
+ <note>We use this bundle for parsing XML.</note>
+ </notes>
+ <legal>
+ <ipzilla bug_id="1031"/>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <reference>http://apache.org/licenses/LICENSE-2.0</reference>
+ </license>
+ <package>xerces-apis.jar</package>
+ </legal>
+ <legal>
+ <ipzilla bug_id="12341"/>
+ <license>
+ <name>Apache License Version 2.1</name>
+ <reference>http://apache.org/licenses/LICENSE-2.1</reference>
+ </license>
+ <package>xerces-impl.jar</package>
+ </legal>
+ </project>
</ip_log>
diff --git a/ip_log/org.apache.xmlrpc.ip_log b/ip_log/org.apache.xmlrpc.ip_log
index 978cdc9..eee2494 100644
--- a/ip_log/org.apache.xmlrpc.ip_log
+++ b/ip_log/org.apache.xmlrpc.ip_log
@@ -1,52 +1,52 @@
<ip_log version ="1.0">
- <project id="org.apache.xmlrpc" version="3.0.0" status="done">
- <info>
- <name>Apache XML-RPC</name>
- <origin>Apache</origin>
- <reference>http://ws.apache.org/xmlrpc/</reference>
- <repository>/cvsroot/tools</repository>
- <location>org.eclipse.orbit/org.apache.xmlrpc</location>
- <tag>v3_0_0</tag>
- </info>
- <contact>
- <name>Joe Smith</name>
- <email>joe@exmample.com</email>
- <company>Example Company</company>
- </contact>
- <notes>
- <note>This bundle is used for RPC calls over HTTP.</note>
- </notes>
- <legal>
- <ipzilla bug_id="103"/>
- <license>
- <name>Apache License Version 2.0</name>
- <reference>http://apache.org/licenses/LICENSE-2.0</reference>
- </license>
- </legal>
- </project>
- <project id="org.apache.xmlrpc" version="3.1.0">
- <info>
- <name>Apache XML-RPC</name>
- <origin>Apache</origin>
- <reference>http://ws.apache.org/xmlrpc/</reference>
- <repository>/cvsroot/tools</repository>
- <location>org.eclipse.orbit/org.apache.xmlrpc</location>
- <tag>v3_1_0</tag>
- </info>
- <contact>
- <name>Joe Smith</name>
- <email>joe@exmample.com</email>
- <company>Example Company</company>
- </contact>
- <notes>
- <note>This bundle is used for RPC calls over HTTP.</note>
- </notes>
- <legal>
- <ipzilla bug_id="103"/>
- <license>
- <name>Apache License Version 2.0</name>
- <reference>http://apache.org/licenses/LICENSE-2.0</reference>
- </license>
- </legal>
- </project>
+ <project id="org.apache.xmlrpc" version="3.0.0" status="done">
+ <info>
+ <name>Apache XML-RPC</name>
+ <origin>Apache</origin>
+ <reference>http://ws.apache.org/xmlrpc/</reference>
+ <repository>/cvsroot/tools</repository>
+ <location>org.eclipse.orbit/org.apache.xmlrpc</location>
+ <tag>v3_0_0</tag>
+ </info>
+ <contact>
+ <name>Joe Smith</name>
+ <email>joe@exmample.com</email>
+ <company>Example Company</company>
+ </contact>
+ <notes>
+ <note>This bundle is used for RPC calls over HTTP.</note>
+ </notes>
+ <legal>
+ <ipzilla bug_id="103"/>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <reference>http://apache.org/licenses/LICENSE-2.0</reference>
+ </license>
+ </legal>
+ </project>
+ <project id="org.apache.xmlrpc" version="3.1.0">
+ <info>
+ <name>Apache XML-RPC</name>
+ <origin>Apache</origin>
+ <reference>http://ws.apache.org/xmlrpc/</reference>
+ <repository>/cvsroot/tools</repository>
+ <location>org.eclipse.orbit/org.apache.xmlrpc</location>
+ <tag>v3_1_0</tag>
+ </info>
+ <contact>
+ <name>Joe Smith</name>
+ <email>joe@exmample.com</email>
+ <company>Example Company</company>
+ </contact>
+ <notes>
+ <note>This bundle is used for RPC calls over HTTP.</note>
+ </notes>
+ <legal>
+ <ipzilla bug_id="103"/>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <reference>http://apache.org/licenses/LICENSE-2.0</reference>
+ </license>
+ </legal>
+ </project>
</ip_log>
diff --git a/ip_log/parse_dom.php b/ip_log/parse_dom.php
index 6565d54..86048b1 100644
--- a/ip_log/parse_dom.php
+++ b/ip_log/parse_dom.php
@@ -14,102 +14,102 @@
* Parse the given XML file and return an array with Project objects based on its contents.
*/
function parse($file) {
- $result = array();
- $doc = new DOMDocument();
- $doc->load($file);
- $root = $doc->documentElement;
+ $result = array();
+ $doc = new DOMDocument();
+ $doc->load($file);
+ $root = $doc->documentElement;
- foreach ($root->childNodes as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_PROJECT) != 0) continue;
- $project = createProject($child);
- if ($project != NULL) array_push($result, $project);
- }
- return $result;
+ foreach ($root->childNodes as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_PROJECT) != 0) continue;
+ $project = createProject($child);
+ if ($project != NULL) array_push($result, $project);
+ }
+ return $result;
}
/*
* Create and return a Project object based on the given DOM node.
*/
function createProject($node) {
- $project = new project();
- $project->id =$node->getAttribute(ATTRIBUTE_ID);
- $project->version = $node->getAttribute(ATTRIBUTE_VERSION);
- $status = $node->getAttribute(ATTRIBUTE_STATUS);
- if (strcasecmp($status, VALUE_STATUS_DONE) == 0) {
- $project->status = STATUS_DONE;
- }
- foreach ($node->childNodes as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_INFO) == 0) {
- $project->info = createInfo($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_CONTACT) == 0) {
- $project->contact = createContact($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_NOTES) == 0) {
- $project->notes = createNotes($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_LEGAL) == 0) {
- $project->legal[] = createLegal($child);
- } else {
- // TODO error
- }
- }
- return $project;
+ $project = new project();
+ $project->id =$node->getAttribute(ATTRIBUTE_ID);
+ $project->version = $node->getAttribute(ATTRIBUTE_VERSION);
+ $status = $node->getAttribute(ATTRIBUTE_STATUS);
+ if (strcasecmp($status, VALUE_STATUS_DONE) == 0) {
+ $project->status = STATUS_DONE;
+ }
+ foreach ($node->childNodes as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_INFO) == 0) {
+ $project->info = createInfo($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_CONTACT) == 0) {
+ $project->contact = createContact($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_NOTES) == 0) {
+ $project->notes = createNotes($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_LEGAL) == 0) {
+ $project->legal[] = createLegal($child);
+ } else {
+ // TODO error
+ }
+ }
+ return $project;
}
/*
* Create and return an Info object based on the given DOM node.
*/
function createInfo($node) {
- $info = new info();
- foreach ($node->childNodes as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
- $info->name = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_ORIGIN) == 0) {
- $info->origin = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) {
- $info->reference = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_REPOSITORY) == 0) {
- $info->repository = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_LOCATION) == 0) {
- $info->location = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_TAG) == 0) {
- $info->tag = getText($child);
- } else {
- // TODO error
- }
- }
- return $info;
+ $info = new info();
+ foreach ($node->childNodes as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
+ $info->name = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_ORIGIN) == 0) {
+ $info->origin = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) {
+ $info->reference = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_REPOSITORY) == 0) {
+ $info->repository = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_LOCATION) == 0) {
+ $info->location = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_TAG) == 0) {
+ $info->tag = getText($child);
+ } else {
+ // TODO error
+ }
+ }
+ return $info;
}
/*
* Return the text from the given node, if any.
*/
function getText($node) {
- foreach ($node->childNodes as $child) {
- if ($child->nodeType != XML_TEXT_NODE) continue;
- return $child->wholeText;
- }
+ foreach ($node->childNodes as $child) {
+ if ($child->nodeType != XML_TEXT_NODE) continue;
+ return $child->wholeText;
+ }
}
/*
* Create and return a Contact object from the given DOM node.
*/
function createContact($node) {
- $contact = new contact();
- foreach ($node->childNodes as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
- $contact->name = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_EMAIL) == 0) {
- $contact->email = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_COMPANY) == 0) {
- $contact->company = getText($child);
- } else {
- // TODO error
- }
- }
- return $contact;
+ $contact = new contact();
+ foreach ($node->childNodes as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
+ $contact->name = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_EMAIL) == 0) {
+ $contact->email = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_COMPANY) == 0) {
+ $contact->company = getText($child);
+ } else {
+ // TODO error
+ }
+ }
+ return $contact;
}
/*
@@ -117,58 +117,58 @@
* in the given <notes> element.
*/
function createNotes($node) {
- $result = array();
- $children = $node->childNodes;
- foreach ($children as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_NOTE) != 0) continue;
- // we have a <note> element so store the text
- foreach ($child->childNodes as $sub) {
- if ($sub->nodeType != XML_TEXT_NODE) continue;
- $result[] = $sub->wholeText;
- }
- }
- return $result;
+ $result = array();
+ $children = $node->childNodes;
+ foreach ($children as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_NOTE) != 0) continue;
+ // we have a <note> element so store the text
+ foreach ($child->childNodes as $sub) {
+ if ($sub->nodeType != XML_TEXT_NODE) continue;
+ $result[] = $sub->wholeText;
+ }
+ }
+ return $result;
}
/*
* Create and return a Legal object based on the given node.
*/
function createLegal($node) {
- $legal = new legal();
- $children = $node->childNodes;
- foreach ($children as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_IPZILLA) == 0) {
- $legal->ipzilla = $child->getAttribute(ATTRIBUTE_BUG_ID);
- } else if (strcasecmp($child->nodeName, ELEMENT_LICENSE) == 0) {
- $legal->license = createLicense($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_PACKAGE) == 0) {
- $legal->package = getText($child);
- } else {
- // TODO error
- }
- }
- return $legal;
+ $legal = new legal();
+ $children = $node->childNodes;
+ foreach ($children as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_IPZILLA) == 0) {
+ $legal->ipzilla = $child->getAttribute(ATTRIBUTE_BUG_ID);
+ } else if (strcasecmp($child->nodeName, ELEMENT_LICENSE) == 0) {
+ $legal->license = createLicense($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_PACKAGE) == 0) {
+ $legal->package = getText($child);
+ } else {
+ // TODO error
+ }
+ }
+ return $legal;
}
/*
* Create and return a License object based on the given DOM node.
*/
function createLicense($node) {
- $license = new license();
- $children = $node->childNodes;
- foreach ($children as $child) {
- if ($child->nodeType != XML_ELEMENT_NODE) continue;
- if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
- $license->name = getText($child);
- } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) {
- $license->reference = getText($child);
- } else {
- // TODO error
- }
- }
- return $license;
+ $license = new license();
+ $children = $node->childNodes;
+ foreach ($children as $child) {
+ if ($child->nodeType != XML_ELEMENT_NODE) continue;
+ if (strcasecmp($child->nodeName, ELEMENT_NAME) == 0) {
+ $license->name = getText($child);
+ } else if (strcasecmp($child->nodeName, ELEMENT_REFERENCE) == 0) {
+ $license->reference = getText($child);
+ } else {
+ // TODO error
+ }
+ }
+ return $license;
}
?>
\ No newline at end of file
diff --git a/orbit.css b/orbit.css
index 1953f84..d3a4c56 100644
--- a/orbit.css
+++ b/orbit.css
@@ -17,39 +17,39 @@
}
div.bundleGroup {
- display: none;
+ display: none;
}
p.bar {
- background-image: url(/eclipse.org-common/themes/Phoenix/images/header_bg.gif);
- background-position: top left;
- background-repeat: repeat-x;
- background-color: #669;
- color: #fff;
- /* font-size: 1.1em; */
- font-size: 110%;
- font-weight: bold;
- margin-left: 0;
- margin-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-left: 5px;
- padding-right: 1px;
+ background-image: url(/eclipse.org-common/themes/Phoenix/images/header_bg.gif);
+ background-position: top left;
+ background-repeat: repeat-x;
+ background-color: #669;
+ color: #fff;
+ /* font-size: 1.1em; */
+ font-size: 110%;
+ font-weight: bold;
+ margin-left: 0;
+ margin-right: 4px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ padding-left: 5px;
+ padding-right: 1px;
}
p.subbar {
- background-image: url(/eclipse.org-common/themes/Phoenix/images/searchbar_bg.gif);
- background-position: bottom left;
- background-repeat: repeat-x;
- background-color: #595791;
- color: #000;
- /* font-size: 1.1em; */
- font-size: 110%;
- font-weight: bold;
- margin-left: 0;
- margin-right: 4px;
- padding-top: 2px;
- padding-bottom: 2px;
- padding-left: 5px;
- padding-right: 1px;
+ background-image: url(/eclipse.org-common/themes/Phoenix/images/searchbar_bg.gif);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+ background-color: #595791;
+ color: #000;
+ /* font-size: 1.1em; */
+ font-size: 110%;
+ font-weight: bold;
+ margin-left: 0;
+ margin-right: 4px;
+ padding-top: 2px;
+ padding-bottom: 2px;
+ padding-left: 5px;
+ padding-right: 1px;
}
diff --git a/overview.php b/overview.php
index ae6454a..1915e93 100644
--- a/overview.php
+++ b/overview.php
@@ -8,14 +8,14 @@
$Menu = new Menu ();
include ($App->getProjectCommon ()); # All on the same line to unclutter the user's desktop'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit overview";
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit overview";
$pageKeywords = "orbit, bundles, third party, code, equinox, osgi, framework, runtime";
// Add page-specific Nav bars here
diff --git a/project-info/project-info.xml b/project-info/project-info.xml
index a0bc870..ac74a4a 100644
--- a/project-info/project-info.xml
+++ b/project-info/project-info.xml
@@ -14,7 +14,7 @@
<list name="orbit-dev"/>
</mailing-lists>
<newsgroups>
- <newsgroup name="Orbit"/>
+ <newsgroup name="Orbit"/>
</newsgroups>
<project-plan url="/orbit/planning/3.3.html"/>
<releases>
diff --git a/resources.php b/resources.php
index 160465e..6df9fa8 100644
--- a/resources.php
+++ b/resources.php
@@ -8,14 +8,14 @@
$Menu = new Menu ();
include ($App->getProjectCommon ()); # All on the same line to unclutter the user's desktop'
- #*****************************************************************************
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Orbit Resources";
+ #*****************************************************************************
+ #
+ #
+ #****************************************************************************
+
+ #
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Orbit Resources";
$pageKeywords = "orbit, bundles, code library, osgi, framework, runtime, resources";
// Add page-specific Nav bars here
@@ -122,14 +122,14 @@
</div>
<?php
- include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
- include "dir-links.html";
+ include $_SERVER['DOCUMENT_ROOT'] . "/orbit/global-links.html";
+ include "dir-links.html";
?>
<?php
- $html = ob_get_contents();
- ob_end_clean();
+ $html = ob_get_contents();
+ ob_end_clean();
- # Generate the web page
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
diff --git a/test.php b/test.php
index 9ea9a6d..d1760b7 100644
--- a/test.php
+++ b/test.php
@@ -11,8 +11,8 @@
while (($file = readdir($handle)) !== false) {
echo $file;
if (is_dir($dir . $file))
- echo "/";
- echo "<br>";
+ echo "/";
+ echo "<br>";
}
closedir($handle);
}