[531218] Turn the CLA and CoO pages into redirects to the ECA
Change-Id: I9d2c32184d539715e22c012c96b681c671723cfa
diff --git a/CLA.php b/CLA.php
index b9b61ab..4c2b9d9 100644
--- a/CLA.php
+++ b/CLA.php
@@ -1,42 +1,2 @@
-<?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'
-
- #*****************************************************************************
- #
- # sample_3col.php
- #
- # Author: Mike Milinkovich
- # Date: 2013-03-01
- #
- # Description: Type your page comments here - these are not sent to the browser
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Eclipse Foundation Contributor License Agreement";
- $pageKeywords = "certificate, CLA, contributor, legal, eclipse";
- $pageAuthor = "Mike Milinkovich";
-
- # 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", 1);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1);
-
- # End: page-specific settings
- #
-
- # Paste your HTML content between the EOHTML markers!
- $html = '<div id="midcolumn">';
- $html .= '<p><strong>The CLA has been replaced by the <a href="ECA.php">Eclipse Contributor Agreement</a></strong></p>';
- $html .= file_get_contents('CLA.html');
- $html .= '</div>';
- ob_start();
- include('content/eca_sidebar.php');
- $html .= ob_get_clean();
-
-
- # Generate the web page
- $App->setOutDated('2016-08-22');
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+<?php
+header("Location: /legal/ECA.php");
\ No newline at end of file
diff --git a/CoO.php b/CoO.php
index 5514ec0..4d12a60 100644
--- a/CoO.php
+++ b/CoO.php
@@ -1,44 +1,2 @@
-<?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'
-
- #*****************************************************************************
- #
- # sample_3col.php
- #
- # Author: Mike Milinkovich
- # Date: 2013-03-01
- #
- # Description: Type your page comments here - these are not sent to the browser
- #
- #
- #****************************************************************************
-
- #
- # Begin: page-specific settings. Change these.
- $pageTitle = "Eclipse Foundation Contributor's Certificate of Origin";
- $pageKeywords = "certificate, CLA, contributor, legal, eclipse";
- $pageAuthor = "Mike Milinkovich";
-
- # 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", 1);
- # $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 1);
-
- # End: page-specific settings
- #
-
- # Paste your HTML content between the EOHTML markers!
-
- $html = '<div id="midcolumn">';
- $html .= '<p><strong>The CLA has been replaced by the <a href="ECA.php">Eclipse Contributor Agreement</a></strong></p>';
- $html .= file_get_contents('CoO.html');
- $html .= '</div>';
- ob_start();
- include('content/eca_sidebar.php');
- $html .= ob_get_clean();
-
- # Generate the web page
- # Generate the web page
- $App->setOutDated('2016-08-22');
- $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
-
+<?php
+header("Location: /legal/ECA.php#text2");
\ No newline at end of file