blob: de7bb72dd4a06ba5f086b236af0c03a8edfede95 [file] [log] [blame]
<?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("_projectCommon.php"); # All on the same line to unclutter the user's desktop'
/*******************************************************************************
* Copyright (c) 2013 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://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christopher Guindon (Eclipse Foundation)- initial API and implementation
*******************************************************************************/
# Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Downloads";
$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.";
$App->PageRSS = "/downloads/rss.php";
$App->PageRSSTitle = "Eclipse Releases";
# CONFIGURATION
$page = 'developer';
require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/controller.compare.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/controller.downloads.php");
$Downloads = new Downloads($App);
$Downloads->setReleaseTitle('Eclipse Luna (4.4) M5 Packages');
$Downloads->setPrefixPackage('developer');
$Downloads->setRelease('luna');
//$Downloads->setFriendsEarlyAccess(TRUE);
$release = array();
$release['dev'] = array('caption' => 'Luna M5', 'url' => 'Luna');
//$release['alt'] = array('caption' => 'Kepler SR2-RC3', 'url' => 'kepler');
if (isset($_GET['release']) && $_GET['release'] == 'kepler') {
$Downloads->setPrefixPackage('developerAlt');
$Downloads->setReleaseTitle("Eclipse Kepler (4.3) SR2-RC3 Packages");
}
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 href="/downloads/assets/public/stylesheets/downloads.min.css" media="screen" rel="stylesheet" type="text/css"/>');
$App->AddExtraJSFooter('<script type="text/javascript" src="/downloads/assets/public/javascript/downloads.min.js"></script>');
$App->generatePage("solstice", $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html);