| <?php |
| /** |
| * Copyright (c) 2018 Eclipse Foundation. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation) - initial API and implementation |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| */ |
| |
| //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();} |
| ?> |
| |
| <!--<div class="text-center"> |
| <?php if (!empty($installer_alert_text)): ?> |
| <div class="row"> |
| <div class="col-xs-12 col-xs-offset-6 col-md-18 col-md-offset-3"> |
| <div class="downloads-eclipse-installer-alert"> |
| <p><?php print $installer_alert_text; ?></p> |
| </div> |
| </div> |
| </div> |
| <?php endif; ?> |
| <span class="downloads-logo vertical-align"><img height="50" alt="Eclipse" src="/downloads/assets/public/images/logo-eclipse.png"></span> |
| <h3>Get <strong>Eclipse IDE <?php print $release_title; ?></strong></h3> |
| <p>Install your favorite desktop IDE packages.</p> |
| <p> |
| <?php foreach ($installer_links['links'] as $link): ?> |
| <a class="<?php print $link['link_classes']; ?>" href="<?php print $link['url']; ?>" title="<?php print $link['text']; ?> Download"><?php print $link['text_prefix'] . ' ' . $link['text']; ?></a> |
| <?php endforeach; ?> |
| </p> |
| <p><a href="/downloads/packages" class="grey-link">Download Packages</a> | <a class="grey-link" href="/downloads/packages/installer" title="Instructions">Need Help?</a></p> |
| </div>--> |
| |
| |
| <div class="featured-download-logo"> |
| <img class="img" src="assets/public/images/logo-eclipse.png" /> |
| </div> |
| <p> |
| <strong>Install your favorite desktop IDE packages</strong> |
| </p> |
| <div class="btn-group"> |
| <a class="btn btn-neutral" href="https://eclipseide.org/">Learn More</a> |
| <?php if (count($installer_links['links']) > 1): ?> |
| <div class="btn-group"> |
| <button |
| class="btn btn-primary dropdown-toggle" |
| type="button" |
| data-toggle="dropdown" |
| aria-haspopup="true" |
| aria-expanded="false" |
| > |
| Download <span class="caret" aria-hidden="true"></span> |
| </button> |
| <ul class="dropdown-menu dropdown-menu-right"> |
| <?php foreach ($installer_links['links'] as $link): ?> |
| <li> |
| <a |
| class="<?php print $link['link_classes']; ?>" |
| href="<?php print $link['url']; ?>" |
| title="<?php print $link['text']; ?> Download" |
| > |
| <?php print $link['text_prefix'] . ' ' . $link['text']; ?> |
| </a> |
| </li> |
| <?php endforeach; ?> |
| </ul> |
| </div> |
| <?php else: ?> |
| <?php $link = $installer_links['links'][0]; ?> |
| <a |
| class="btn btn-primary" |
| href="<?php print $link['url']; ?>" |
| title="<?php print $link['text']; ?> Download" |
| > |
| <?php print $link['text_prefix'] . ' ' . $link['text']; ?> |
| </a> |
| <?php endif; ?> |
| </div> |
| <div class="featured-download-other-links"> |
| <a href="https://www.eclipse.org/downloads/packages/">Download Packages</a> | <a href="https://www.eclipse.org/downloads/packages/installer">Need Help</a> |
| </div> |