| <?php |
| /******************************************************************************* |
| * Copyright (c) 2015 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://eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Eric Poirier (Eclipse Foundation) - Initial implementation |
| * Christopher Guindon (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("_projectCommon.php"); |
| |
| # Begin: page-specific settings. Change these. |
| $pageTitle = "6 Steps to Install Eclipse"; |
| $pageKeywords = "eclipse,download,downloads,mirror,project,plug-ins,plugins,java,ide,swt,refactoring,free java ide,tools,platform,open source,development environment,development,ide"; |
| $pageAuthor = "Eclipse Foundation, Inc."; |
| |
| $page = 'installer_instructions'; |
| |
| $App->Promotion = TRUE; |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/view.tpl.php"); |
| |
| // Custom theme variables |
| $variables = array(); |
| $variables['main_container_classes'] = 'container-full'; |
| $App->setThemeVariables($variables); |
| |
| # Generate the web page |
| $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/downloads/assets/public/stylesheets/downloads.min.css" media="screen" />'); |
| $App->generatePage("solstice", $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html); |