Display download links on neon page
Change-Id: Ie1972f4f4c6f9c13bb4a9097a1fe1906d0a02ea6
Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
diff --git a/content/en_index.php b/content/en_index.php
index 8df5a21..73c892b 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -11,19 +11,21 @@
*******************************************************************************/
// Get only the 64 bit links
-$links = $EclipseInstaller->getInstallerLinks('64bit');
?>
<div class="neon-container">
<!-- NEON HEADER -->
<div class="neon-header">
<div class="container">
+ <div class="alert alert-danger" role="alert">
+ <a href="https://projects.eclipse.org/releases/neon">Neon</a> is
+ a past version of Eclipse. Please visit our <a href="/downloads/">download</a>
+ page for the latest version of Eclipse.
+ </div>
<h1 class="neon-header-h1">
<span class="neon-title">n<span class="blink-one">e</span>o<span class="blink-two">n</span></span><br>
</h1>
- <?php foreach ($links['links'] as $link): ?>
- <p><a class="btn btn-neon btn-download btn-white-text" href="<?php print $link; ?>">Download</a></p>
- <?php endforeach;?>
+ <p><a class="btn btn-neon btn-download btn-white-text" href="https://www.eclipse.org/downloads/packages/release/neon/3">Download</a></p>
<p><a href="/downloads/eclipse-packages" class="other-packages-link">Other Package Downloads</a></p>
</div>
</div>
diff --git a/index.php b/index.php
index 58982a4..a396060 100644
--- a/index.php
+++ b/index.php
@@ -12,11 +12,8 @@
*******************************************************************************/
require_once(realpath(dirname(__FILE__) . "/../eclipse.org-common/system/app.class.php"));
- require_once(realpath(dirname(__FILE__) . "/../eclipse.org-common/classes/downloads/eclipseInstaller.php"));
$App = New App();
- $EclipseInstaller = new EclipseInstaller('neon/R');
- $EclipseInstaller->setInstallerLayout('layout_a');
#redirect the user if he already saw the luna landing page
$uri = explode("/", $_SERVER['REQUEST_URI']);