blob: cb4cfa2e1ca6bb18ba1d997f9edd58218794cad5 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2016 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wayne Beaton (Eclipse Foundation)- initial API and implementation
*******************************************************************************/
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");
require_once($_SERVER['DOCUMENT_ROOT'] . "/projects/classes/trademarks.inc");
$App = new App();
$Nav = new Nav();
$Menu = new Menu();
include($App->getProjectCommon());
#
# Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Foundation Trademarks";
$pageKeywords = "";
$pageAuthor = "Wayne Beaton";
$trademarks = array();
function collectTrademarks($id, $term, $url) {
global $trademarks;
// Avoid duplicates
$trademarks[$id][] = array($term, $url);
}
allTrademarksDo('collectTrademarks');
function trademarkcmp($a, $b) {
return strnatcasecmp($a[0][0], $b[0][0]);
}
usort($trademarks, 'trademarkcmp');
foreach($trademarks as &$trademark) {
foreach($trademark as &$term) {
$label = $term[0];
$url = $term[1];
$term = "<a href=\"$url\">$label</a>&trade;";
}
$trademark = implode(", ", $trademark);
}
ob_start();
?>
<div id="maincontent">
<div id="midcolumn">
<h1><?= $pageTitle ?></h1>
<p>This document captures a list of trademarks claimed by the Eclipse Foundation. Please read
our <a href="/legal/logo_guidelines.php">Guidelines for Eclipse Logos &amp; Trademarks</a>.
<p>The Eclipse Foundation considers the names of all open source projects, all downloadable
software products, the Eclipse logo, and the logos of our forges and projects to be trademarks
of the The Eclipse Foundation. The Eclipse Foundation owns all of these trademarks on behalf of
our project communities.</p>
<h2>Registered Trademarks</h2>
<ul>
<li>Eclipse&reg; and the Eclipse Logo are registered in Canada, and Europe.</li>
<li>Jetty&reg; is registered in The United States of America, Canada, and Europe</li>
</ul>
<h2>Tradmarks&ndash;Projects</h2>
<p>All software product and project names are considered trademarks of The Eclipse Foundation, even if they are not listed below. </p>
<ul>
<?php
foreach($trademarks as $id => $terms) {
echo "<li><a href=\"/projects/project.php?id=$id\">$terms<a></li>";
}
?>
</ul>
</div>
</div>
<?php
$html = ob_get_contents();
ob_end_clean();
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>