diff options
| author | Yi Liu | 2020-11-04 16:22:24 +0000 |
|---|---|---|
| committer | Yi Liu | 2020-11-04 21:02:22 +0000 |
| commit | 1ab7febf1b71ada8a92f756bf76c15abd8a3bc9e (patch) | |
| tree | aaaab36e63879a836194c0b2cfffd5d701daf18e | |
| parent | f156519098b7e396d87fa91d3c8985523172cddd (diff) | |
| download | membership-1ab7febf1b71ada8a92f756bf76c15abd8a3bc9e.tar.gz membership-1ab7febf1b71ada8a92f756bf76c15abd8a3bc9e.tar.xz membership-1ab7febf1b71ada8a92f756bf76c15abd8a3bc9e.zip | |
Bug 568528 - redirect and also remove the sentence and the link to the old page
Bug 568528 - redirect membershiType to tab-levels
Signed-off-by: Yi Liu <yi.liu@eclipse-foundation.org>
Change-Id: Ib62760429db8977084296fb7bc58d5e2c00b9ac9
| -rw-r--r-- | become_a_member/membershipTypes.php | 33 | ||||
| -rw-r--r-- | content/en_index.php | 1 |
2 files changed, 2 insertions, 32 deletions
diff --git a/become_a_member/membershipTypes.php b/become_a_member/membershipTypes.php index e6c4486..0dff84c 100644 --- a/become_a_member/membershipTypes.php +++ b/become_a_member/membershipTypes.php @@ -11,35 +11,6 @@ * Denis Roy (Eclipse Foundation)
*******************************************************************************/
- 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());
-
- # Begin: page-specific settings. Change these.
- $pageTitle = "Types of Membership";
- $pageKeywords = "eclipse,project,plug-ins,plugins,java,ide,swt,refactoring,free java ide,tools,platform,open source,development environment,development,ide";
- $pageAuthor = "Eclipse Foundation, Inc.";
-
- // Custom theme variables
- $variables = array();
- $hide_tips = TRUE;
-
- // Place your html content in a file called content/en_pagename.php
- ob_start();
- include("content/en_" . $App->getScriptName());
- $html = ob_get_clean();
-
- require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/breadcrumbs.class.php");
- $Breadcrumb = new Breadcrumb();
- # remove last crumb since it represents this _projectCommon page.
- $Breadcrumb->removeCrumb($Breadcrumb->getCrumbCount() -1);
- $Breadcrumb->addCrumb("Become a member", "/membership/become_a_member/", "_self");
- $Breadcrumb->addCrumb($pageTitle, NULL, NULL);
-
- # Generate the web page
- $App->generatePage($theme, $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html, $Breadcrumb);
+header('Location: /membership/#tab-levels', TRUE, 301);
+exit;
diff --git a/content/en_index.php b/content/en_index.php index ee095a3..c281241 100644 --- a/content/en_index.php +++ b/content/en_index.php @@ -216,7 +216,6 @@ <li>The opportunity to attend all meetings of the General Assembly</li> </ul> <p>Learn more about <a href="/membership/become_a_member/committer.php">Committer membership</a>.</p> - <p>Learn more about the <a href="/membership/become_a_member/membershipTypes.php#strategic">types of membership</a>.</p> <!-- Nav --> <div class="margin-top-40 vertical-align"> <a class="hidden-xs col-sm-6 col-md-8 text-left alt-tab-toggle" href="#tab-benefits" >< Benefits and Services</a> |
