| <?php |
| /******************************************************************************* |
| * Copyright (c) 2013, 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://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation)- initial API and implementation |
| *******************************************************************************/ |
| |
| //if name of the file requested is the same as the current file, the script will exit directly. |
| if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();} |
| |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/membership/promo/promos.php"); |
| //Adding a 100% counter for the downloads page |
| $impression = new CampaignImpression('DOWNLOADPAGE', $_SERVER['REQUEST_URI'], @gethostbyaddr($_SERVER['REMOTE_ADDR'])); |
| $impression->recordImpression(); |
| |
| $current_release = strtolower($Downloads->getReleaseName()); |
| $current = strtolower(filter_var($App->getHTTPParameter('release', 'get'), FILTER_SANITIZE_STRING)); |
| $sub_menu = array(); |
| $sub_menu['alt']['class'] = ''; |
| $sub_menu['dev']['class'] = 'active'; |
| if ($current_release == $current) { |
| $sub_menu['alt']['class'] = 'active'; |
| $sub_menu['dev']['class'] = ''; |
| } |
| |
| ?> |
| <div class="default-download"> |
| <div class="header-row background-orange"> |
| <div class="row"> |
| <?php if($page == 'developer') :?> |
| <div id="other-releases" class="col-sm-9 float-left"> |
| <span id="texttwo"><a href="index-developer.php?<?php print $release['dev']['url'];?>" class="<?php print $sub_menu['dev']['class']?>"><?php print $release['dev']['caption'];?></a></span> |
| <?php if (!empty($release['alt'])) :?> |
| | <span id="textthree"><a href="index-developer.php?release=<?php print $release['alt']['url'];?>" class="<?php print $sub_menu['alt']['class']?>"><?php print $release['alt']['caption'];?></a></span> |
| <?php endif;?> |
| </div> |
| <?php endif;?> |
| |
| <div class="col-sm-15 float-right text-right form-choose-platform"> |
| <?php print $Downloads->getReleaseTitle();?> |
| </div> |
| </div> |
| </div> |
| <?php print $Downloads->getFriendsEarlyAccess();?> |
| <?php |
| if ($Downloads->getWarning() != "") { |
| print $Downloads->getWarning(); |
| } |
| ?> |
| <?php if ($page == 'java8') : ?> |
| <div id="java8-warning" class="row os-warning"> |
| These downloads contain the original <strong>Eclipse Kepler SR2 packages with Java™ 8 patches</strong> applied. |
| While the patches themselves have been fully tested, the packages have not been individually |
| verified. Report any issues <a href="https://bugs.eclipse.org/bugs/describecomponents.cgi?product=EPP">here</a>. |
| |
| <br/><br/> |
| You can also add Java™ 8 support to your existing Eclipse Kepler SR2 installation. |
| Please see <a href="http://www.eclipse.org/downloads/java8/">Installing Java™ 8 Support |
| in Eclipse Kepler SR2</a>. |
| </div> |
| <?php endif;?> |
| <?php print $Downloads->standardOutput($EclipseInstaller);?> |
| <?php print $Downloads->downloadOutput(); ?> |
| </div> |