| <?php |
| /** |
| * Copyright (c) 2016, 2018 Eclipse Foundation and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation) - Initial implementation |
| * Eric Poirier (Eclipse Foundation) |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| */ |
| |
| require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| |
| $App = new App(); |
| $Theme = $App->getThemeClass(); |
| |
| include ($App->getProjectCommon()); |
| |
| $pageTitle = "Eclipse Contributor Agreement"; |
| $Theme->setPageTitle($pageTitle); |
| $Theme->setPageKeywords("certificate, ECA, contributor, legal, eclipse"); |
| $Theme->setPageAuthor("Mike Milinkovich"); |
| |
| // Paste your HTML content between the EOHTML markers! |
| $html = '<div id="midcolumn">'; |
| $html .= file_get_contents('ECA.html'); |
| $html .= '</div>'; |
| ob_start(); |
| include ('content/eca_sidebar.php'); |
| $html .= ob_get_clean(); |
| |
| $Theme->setHtml($html); |
| $Theme->setNav($Nav); |
| $Theme->generatePage(); |