blob: 81720c5bfbf8ee3f9be6e6964bd86a98d022cdc7 [file] [log] [blame]
<?php
/**************************************************************************
* Copyright (c) 2005, 2017 Eclipse Foundation and others.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License 2.0 which accompanies
* this distribution, and is available at http://eclipse.org/legal/epl-2.0
**************************************************************************/
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());
$pageTitle = "Eclipse Foundation Software User Agreement";
$pageKeywords = "eclipse, license, user, agreement, sua";
$pageAuthor = "Mike Milinkovich";
// Fetch notice.html content from <body></body>
$DOMDocument = new DOMDocument;
$DOMDocument->loadHTMLFile(dirname(__FILE__) . "/notice.html");
$body = $DOMDocument->getElementsByTagName('body')->item(0);
$epl = "";
foreach ($body->childNodes as $childNode) {
$epl .= $DOMDocument->saveHTML($childNode);
}
ob_start();
?>
<div id="maincontent">
<div id="midcolumn">
<?php print $epl; ?>
</div>
<div id="rightcolumn">
<div class="sideitem">
<h6>Related Links</h6>
<ul>
<li><a href="notice.html">Software User Agreement in plain HTML</a></li>
<li><a href="feature.properties.txt">Software User Agreement in Java properties format</a></li>
<li><a href="../guidetolegaldoc.php">Guide to legal documents</a></li>
</ul>
</div>
</div>
</div>
<?php
$html = ob_get_contents();
ob_end_clean();
$App->generatePage($theme, $Menu, $Nav , $pageAuthor, $pageKeywords, $pageTitle, $html);
?>