diff options
| author | Christopher Guindon | 2016-01-08 18:46:44 +0000 |
|---|---|---|
| committer | christopher Guindon | 2016-01-11 14:52:53 +0000 |
| commit | d7f42ad80ad8e9102595d5a2bd6a0a015b1f3a7c (patch) | |
| tree | 97ea6ff789eb493190f709b5fbe8f467e7212140 | |
| parent | 7dd679a8cf376f018a71a89912ea485b06d29b46 (diff) | |
| download | downloads-d7f42ad80ad8e9102595d5a2bd6a0a015b1f3a7c.tar.gz downloads-d7f42ad80ad8e9102595d5a2bd6a0a015b1f3a7c.tar.xz downloads-d7f42ad80ad8e9102595d5a2bd6a0a015b1f3a7c.zip | |
Bug 473312 - Add download counts for the installer?
Change-Id: I1ff5a53ab741ce090021e3bec5e0e4dc73c9e852
Signed-off-by: Christopher Guindon <chris.guindon@eclipse.org>
| -rw-r--r-- | assets/public/stylesheets/downloads.min.css | 2 | ||||
| -rw-r--r-- | assets/src/stylesheets/downloads.less | 10 | ||||
| -rw-r--r-- | downloads/controller.eclipseInstaller.php | 79 | ||||
| -rw-r--r-- | downloads/views/view.eclipse_installer.php | 53 | ||||
| -rw-r--r-- | downloads/views/view.installer_instructions.php | 77 | ||||
| -rw-r--r-- | index-developer.php | 18 | ||||
| -rw-r--r-- | index.php | 10 |
7 files changed, 16 insertions, 233 deletions
diff --git a/assets/public/stylesheets/downloads.min.css b/assets/public/stylesheets/downloads.min.css index 0c508f31..769f1f5d 100644 --- a/assets/public/stylesheets/downloads.min.css +++ b/assets/public/stylesheets/downloads.min.css @@ -1 +1 @@ -.download-link-1 a{padding-left:12px;border-left:1px solid #fff}.padding-left-0{padding-left:0}.icon{text-align:center}@media (min-width:768px){.icon{text-align:right}}@media (max-width:767px){.xs-sm-text-center{text-align:center}}.downloadLink-icon{text-align:center;padding-top:26px}@media (min-width:768px){.downloadLink-icon{text-align:right}}.downloadLink-content ul{margin-bottom:0}.downloadLink-content ul li{padding-bottom:0}@media (min-width:768px){.downloadLink-content{padding-left:0}.downloadLink-icon{pading-right:0}}.ad{margin-bottom:2em}.package-row{border-top:1px solid #ddd;padding:12px 6px}.package-row.zebra{background:#fafafa}@media (max-width:767px){.package-row{padding:24px 12px}}@media (max-width:767px){.package-row .icon{margin-bottom:20px}}.package-row .download-icon{font-size:3em;text-align:right;margin-top:-7px}.package-row.promo .download-icon{margin-top:7px}.package-row .download-link a{font-weight:bold}.package-row h2{margin:10px 0 0 0;font-weight:700;font-size:1.3em}.package-row h2 a{color:#111}.os-warning{padding:10px;background:#ffe5b4}.download-container .options a,.download-container #download-packages a{color:#f7941e;font-weight:normal}.download-container .well{border-radius:0;border-top:0;margin-top:-20px}.download-container .default-download .btn-primary{margin-bottom:10px}.download-container .default-download .package-row{border-top:1px solid #e6e6e6}.download-container .default-download .package-row .download-counts{background-color:#e6e6e6;padding:3px 5px;font-size:10px}.download-container .default-download .package-row .list-inline{margin-left:0}.download-container .default-download .package-row p{font-size:12px}.download-container .default-download .package-row .download .fa-download{font-size:20px}@media (max-width:767px){.download-container .default-download .package-row .download p{font-weight:bold}}.download-container .default-download .package-row.promo{position:relative}.download-container .default-download .package-row.promo .more-info{position:absolute;right:0;bottom:0;background-color:#f7941e;border-radius:5px 0 0 0;padding:0 5px}.download-container .default-download .package-row.promo .more-info a{color:#fff}.download-container .default-download .package-row.promo .more-info a:hover{text-decoration:none}.download-container .default-download h2,.download-container .default-download h3{margin-top:10px}.download-container .default-download h3{font-size:21px}.download-container .default-download h3 a{color:#2c2255}.download-container .default-download .form-choose-platform{color:#fff}.download-container .default-download .form-choose-platform label{font-weight:normal;font-size:12px;position:relative;top:3px;margin-right:10px}@media (min-width:768px){.download-container .default-download .form-choose-platform label{float:right}}@media (max-width:767px){.download-container .default-download .form-choose-platform label{float:left}}.download-container .default-download .form-choose-platform select{font-size:12px}@media (min-width:768px){.download-container .default-download .form-choose-platform select{float:right;margin-left:10px}}@media (max-width:767px){.download-container .default-download .form-choose-platform.text-right{text-align:left}}ul.list-inline .divider.white{border-left:1px solid #fff}ul.list-inline .divider.black{border-left:1px solid #000}ul.list-inline .divider{line-height:1.4;height:100%;height:15px;padding-right:0;padding-left:0;margin-left:4px;position:relative;top:2px}.no-border{border:none}@media (min-width:768px){.vertical-align-min-md{display:flex;align-items:center}}#filter-placeholder{margin-top:6px;text-transform:capitalize;background:#2c2f33;color:#a2a8ad;border-color:#414346;font-size:1.1em}#filter-placeholder ul.ft-menu>li.ft-field{margin-right:0}#filter-placeholder ul.ft-menu>li.ft-field>span.ft-label:before{content:"" !important;width:auto}.installer{background-image:url(../images/installer-bg.jpg);background-size:cover;text-align:center;margin-bottom:20px;color:#fff}.installer .title{padding:20px 20px 0}.installer .title h2{color:#fff;margin-bottom:20px}.installer .title .label-new{background-color:#fff;color:#000;font-size:.6em;font-weight:300}@media (min-width:768px){.installer .title .label-new{margin-bottom:25px;margin-left:10px;padding:4px 5px;position:absolute;top:5px}}.installer .options{background-color:rgba(0,0,0,0.6);padding:10px 10px 0}.installer .orange{color:#f7941e}.header-row{padding:6px 6px 4px 6px}.header-row h2{font-size:1.5em}.header-row a{color:#fff;font-weight:normal}.header-row a.active{font-weight:bold;color:#2f2f31}.orange-download-link a{color:#f7941e}
\ No newline at end of file +.download-link-1 a{padding-left:12px;border-left:1px solid #fff}.padding-left-0{padding-left:0}.icon{text-align:center}@media (min-width:768px){.icon{text-align:right}}@media (max-width:767px){.xs-sm-text-center{text-align:center}}.downloadLink-icon{text-align:center;padding-top:26px}@media (min-width:768px){.downloadLink-icon{text-align:right}}.downloadLink-content ul{margin-bottom:0}.downloadLink-content ul li{padding-bottom:0}@media (min-width:768px){.downloadLink-content{padding-left:0}.downloadLink-icon{pading-right:0}}.ad{margin-bottom:2em}.package-row{border-top:1px solid #ddd;padding:12px 6px}.package-row.zebra{background:#fafafa}@media (max-width:767px){.package-row{padding:24px 12px}}@media (max-width:767px){.package-row .icon{margin-bottom:20px}}.package-row .download-icon{font-size:3em;text-align:right;margin-top:-7px}.package-row.promo .download-icon{margin-top:7px}.package-row .download-link a{font-weight:bold}.package-row h2{margin:10px 0 0 0;font-weight:700;font-size:1.3em}.package-row h2 a{color:#111}.os-warning{padding:10px;background:#ffe5b4}.download-container .options a,.download-container #download-packages a{color:#f7941e;font-weight:normal}.download-container .well{border-radius:0;border-top:0;margin-top:-20px}.download-container .default-download .btn-primary{margin-bottom:10px}.download-container .default-download .package-row{border-top:1px solid #e6e6e6}.download-container .default-download .package-row .download-counts{background-color:#e6e6e6;padding:3px 5px;font-size:10px}.download-container .default-download .package-row .list-inline{margin-left:0}.download-container .default-download .package-row p{font-size:12px}.download-container .default-download .package-row .download .fa-download{font-size:20px}@media (max-width:767px){.download-container .default-download .package-row .download p{font-weight:bold}}.download-container .default-download .package-row.promo{position:relative}.download-container .default-download .package-row.promo .more-info{position:absolute;right:0;bottom:0;background-color:#f7941e;border-radius:5px 0 0 0;padding:0 5px}.download-container .default-download .package-row.promo .more-info a{color:#fff}.download-container .default-download .package-row.promo .more-info a:hover{text-decoration:none}.download-container .default-download h2,.download-container .default-download h3{margin-top:10px}.download-container .default-download h3{font-size:21px}.download-container .default-download h3 a{color:#2c2255}.download-container .default-download .form-choose-platform{color:#fff}.download-container .default-download .form-choose-platform label{font-weight:normal;font-size:12px;position:relative;top:3px;margin-right:10px}@media (min-width:768px){.download-container .default-download .form-choose-platform label{float:right}}@media (max-width:767px){.download-container .default-download .form-choose-platform label{float:left}}.download-container .default-download .form-choose-platform select{font-size:12px}@media (min-width:768px){.download-container .default-download .form-choose-platform select{float:right;margin-left:10px}}@media (max-width:767px){.download-container .default-download .form-choose-platform.text-right{text-align:left}}ul.list-inline .divider.white{border-left:1px solid #fff}ul.list-inline .divider.black{border-left:1px solid #000}ul.list-inline .divider{line-height:1.4;height:100%;height:15px;padding-right:0;padding-left:0;margin-left:4px;position:relative;top:2px}.no-border{border:none}@media (min-width:768px){.vertical-align-min-md{display:flex;align-items:center}}#filter-placeholder{margin-top:6px;text-transform:capitalize;background:#2c2f33;color:#a2a8ad;border-color:#414346;font-size:1.1em}#filter-placeholder ul.ft-menu>li.ft-field{margin-right:0}#filter-placeholder ul.ft-menu>li.ft-field>span.ft-label:before{content:"" !important;width:auto}.installer{background-image:url(../images/installer-bg.jpg);background-size:cover;text-align:center;margin-bottom:20px;color:#fff}.installer .title{padding:20px 20px 0}.installer .title h2{color:#fff;margin-bottom:20px}.installer .title .label-new{background-color:#fff;color:#000;font-size:.6em;font-weight:300}@media (min-width:768px){.installer .title .label-new{margin-bottom:25px;margin-left:10px;padding:4px 5px;position:absolute;top:5px}}.installer .options{background-color:rgba(0,0,0,0.6);padding:10px 10px 0}.installer .orange{color:#f7941e}.header-row{padding:6px 6px 4px 6px}.header-row h2{font-size:1.5em}.header-row a{color:#fff;font-weight:normal}.header-row a.active{font-weight:bold;color:#2f2f31}.orange-download-link a{color:#f7941e}.download-count-eclipse-installer p{padding-top:10px}.download-count-eclipse-installer span{font-size:18px;font-weight:700}
\ No newline at end of file diff --git a/assets/src/stylesheets/downloads.less b/assets/src/stylesheets/downloads.less index ed8011b0..7ea5d096 100644 --- a/assets/src/stylesheets/downloads.less +++ b/assets/src/stylesheets/downloads.less @@ -311,4 +311,14 @@ ul.list-inline{ a{ color:#f7941e; } +} + +.download-count-eclipse-installer{ + p{ + padding-top:10px; + } + span{ + font-size:18px; + font-weight:700; + } }
\ No newline at end of file diff --git a/downloads/controller.eclipseInstaller.php b/downloads/controller.eclipseInstaller.php deleted file mode 100644 index 73faf266..00000000 --- a/downloads/controller.eclipseInstaller.php +++ /dev/null @@ -1,79 +0,0 @@ -<?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://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();} - -class EclipseInstaller { - - public $platform = array(); - - /** - * Constructor - */ - function EclipseInstaller() { - $this->addPlaform('Mac OS X'); - $this->addPlaform('Windows'); - $this->addPlaform('Linux'); - } - - /** - * Add a link to the Eclipse Installer - * - * @param string $platform - * @param string $url - * @param string $text - * @return boolean - */ - public function addlink($platform = '', $url = '', $text = '') { - if(!isset($this->platform[$this->_getSafeName($platform)])) { - return FALSE; - } - $count = count($this->platform[$this->_getSafeName($platform)]['links']); - $this->platform[$this->_getSafeName($platform)]['links'][] = '<li class="download-link-' . $count . '"><a href="' . $url .'" title="' . $text . ' Download">' . $text .'</a></li>' . PHP_EOL; - } - - private function _getSafeName($str = '') { - return str_replace(' ', '', strtolower($str)); - } - - /** - * Add a platform to the Eclipse Installer - * - * @param string $label - */ - private function addPlaform($label = '') { - $safe_label = $this->_getSafeName($label); - $this->platform[$safe_label] = array( - 'label' => $label, - //'icon' => '<img src="/downloads/assets/public/images/icon-' . $safe_label . '.png"/>', - 'icon' => '', - 'links' => array(), - ); - } - - /** - * Output of the Eclipse Installer HTML - * - * @return string - */ - public function output(){ - $html = ""; - $platforms = $this->platform; - if (!empty($platforms)) { - ob_start(); - include("views/view.eclipse_installer.php"); - $html = ob_get_clean(); - } - return $html; - } -}
\ No newline at end of file diff --git a/downloads/views/view.eclipse_installer.php b/downloads/views/view.eclipse_installer.php deleted file mode 100644 index 476f5d14..00000000 --- a/downloads/views/view.eclipse_installer.php +++ /dev/null @@ -1,53 +0,0 @@ -<?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://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']) || empty($platforms)){exit();} -?> -<div class="installer"> - <div class="title"> - <div class="row"> - <div class="col-sm-6"> - <img class="installer-logo" width="150" src="/downloads/assets/public/images/logo-installer.png" /> - </div> - <div class="col-sm-18"> - <h2>Try the Eclipse <span class="orange">Installer</span> <span class="label label-default label-new">NEW</span></h2> - <p>The easiest way to install and update your Eclipse Development Environment.</p> - <p class="padding-top-5"> - <a class="btn btn-warning btn-sm" data-target="#collapseEinstaller" class="solstice-collapse orange" role="button" data-toggle="collapse" aria-expanded="false" aria-controls="collapseEinstaller"> - Find out more <i class="fa fa-chevron-down"></i> - </a> - </p> - </div> - </div> - </div><!-- end of title --> - <div class="options"> - <div class="col-sm-offset-5 col-sm-offset-6 clearfix"> - <?php foreach ($platforms as $platform):?> - <div class="col-sm-8"> - <div class="padding-bottom-5"></div> - <p><?php print $platform['icon'];?> <?php print $platform['label'];?></p> - <ul class="list-inline"> - <li><i class="fa fa-download white"></i></li> - <?php print implode('', $platform['links']);?> - </ul> - </div> - <?php endforeach;?> - </div> - </div><!-- end of .options --> -</div> <!-- end of .installer --> -<div id="collapseEinstaller1"> -<div class="collapse<?php if (isset($_GET['show_instructions'])) { print ' in';}?>" id="collapseEinstaller"> - <div class="well"> - <?php include('view.installer_instructions.php');?> - </div> -</div> -</div>
\ No newline at end of file diff --git a/downloads/views/view.installer_instructions.php b/downloads/views/view.installer_instructions.php deleted file mode 100644 index d87a87a6..00000000 --- a/downloads/views/view.installer_instructions.php +++ /dev/null @@ -1,77 +0,0 @@ -<?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) - *******************************************************************************/ -?> -<p class="float-right padding-top-25"> - <a class="btn btn-warning btn-sm" data-target="#collapseEinstaller" class="solstice-collapse orange" role="button" data-toggle="collapse" aria-expanded="false" aria-controls="collapseEinstaller"> - <i class="fa fa-times"></i> Hide - </a> -</p> -<h1>5 Steps to Install Eclipse</h1> - -<p class="lead">For the Mars release, we are introducing a new Eclipse installer. -This is a new and more efficient way to install Eclipse. It is a proper -installer, so no more zip files, with a self extracting download that -will lead you through the installation experience. For those not into -installers, we still have the packages and zip files available on our download pages.</p> -<hr> -<h2>1. Download the Eclipse Installer</h2> -<?php if (!empty($platforms)) :?> - <div class="row orange-download-link"> - <?php foreach ($platforms as $platform):?> - <div class="col-sm-8 padding-top-10 text-center"> - <p><?php print $platform['label'];?></p> - <ul class="list-inline"> - <li><i class="fa fa-download white"></i></li> - <?php print implode('', $platform['links']);?> - </ul> - </div> - <?php endforeach;?> - </div> -<?php else:?> - <p>Download Eclipse Installer from <a href="/downloads">http://www.eclipse.org/downloads</a></p> -<?php endif;?> -<!-- -<img class="img-responsive" src="assets/public/images/installer-instructions-01.png" alt="Screenshot of Eclipse Installer's web page."> - --> -<p>Eclipse is hosted on many mirrors around the world. Please select -the one closest to you and start to download the Installer</p> -<hr> -<h2>2. Start the Eclipse Installer executable</h2> -<p>For Windows users, after the Eclipse Installer executable has finished downloading it should be -available in your download directory. Start the Eclipse Installer executable. -You may get a security warning to run this file. If the Eclipse Foundation is -the Publisher, you are good to select Run.</p> -<p>For Mac and Linux users, you will still need to unzip the download to create the Installer. -Start the Installer once it is available.</p> -<img class="img-responsive" src="assets/public/images/installer-instructions-02-b.png" alt="Screenshot of the Eclipse Installer executable."> -<hr> -<h2>3. Select the package to install</h2> -<p>The new Eclipse Installer shows the packages available to Eclipse users. -You can search for the package you want to install or scroll through the list.</p> -<p>Select and click on the package you want to install.</p> -<img class="img-responsive" src="assets/public/images/installer-instructions-03.png" alt="Screenshot of the Eclipse packages."> -<hr> -<h2>4. Select your installation folder</h2> -<p>Specify the folder where you want Eclipse to be installed. The default folder will be in your User directory.</p> -<p>Select the ‘Install’ button to begin the installation.</p> -<img class="img-responsive" src="assets/public/images/installer-instructions-04.png" alt="Screenshot of the Install window."> -<hr> -<h2>5. Launch Eclipse</h2> -<p>Once the installation is complete you can now launch Eclipse. -The Eclipse Installer has done it's work. Happy coding.</p> -<img class="img-responsive" src="assets/public/images/installer-instructions-05.png" alt="Screenshot of the Launch window."> -<p class="text-right padding-top-25"> - <a class="btn btn-warning btn-sm" data-target="#collapseEinstaller" class="solstice-collapse orange" role="button" data-toggle="collapse" aria-expanded="false" aria-controls="collapseEinstaller"> - <i class="fa fa-times"></i> Hide - </a> -</p>
\ No newline at end of file diff --git a/index-developer.php b/index-developer.php index ec4767db..99f37388 100644 --- a/index-developer.php +++ b/index-developer.php @@ -12,10 +12,12 @@ 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"); + require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/downloads/eclipseInstaller.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); + $EclipseInstaller = new EclipseInstaller('neon/M4'); include("_projectCommon.php"); # Begin: page-specific settings. Change these. @@ -32,21 +34,12 @@ 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 Neon (4.6) M4a Packages'); $Downloads->setPrefixPackage('developer'); $Downloads->setRelease('neon'); //$Downloads->setFriendsEarlyAccess(TRUE); - require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/controller.eclipseInstaller.php"); - $EclipseInstaller = new EclipseInstaller(); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/neon/M4/eclipse-inst-win32.exe', '32 bit'); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/neon/M4/eclipse-inst-win64.exe', '64 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/neon/M4/eclipse-inst-linux32.tar.gz', '32 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/neon/M4/eclipse-inst-linux64.tar.gz', '64 bit'); - $EclipseInstaller->addlink('Mac OS X', 'download.php?file=/oomph/epp/neon/M4/eclipse-inst-mac64.tar.gz', '64 bit'); - $release = array(); $release['dev'] = array('caption' => 'Neon M4a', 'url' => 'neon'); //$release['alt'] = array('caption' => 'Mars.1 RC3', 'url' => 'mars'); @@ -55,12 +48,7 @@ $Downloads->setPrefixPackage('developerAlt'); $Downloads->setReleaseTitle("Eclipse Mars.1 (4.5.1) RC3 Packages"); $Downloads->setRelease('mars'); - $EclipseInstaller = new EclipseInstaller(); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/mars/RC3/eclipse-inst-win32.exe', '32 bit'); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/mars/RC3/eclipse-inst-win64.exe', '64 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/mars/RC3/eclipse-inst-linux32.tar.gz', '32 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/mars/RC3/eclipse-inst-linux64.tar.gz', '64 bit'); - $EclipseInstaller->addlink('Mac OS X', 'download.php?file=/oomph/epp/mars/RC3/eclipse-inst-mac64.tar.gz', '64 bit'); + $EclipseInstaller = new EclipseInstaller('mars/RC3'); } $App->Promotion = TRUE; @@ -13,10 +13,12 @@ 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"); + require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/classes/downloads/eclipseInstaller.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); + $EclipseInstaller = new EclipseInstaller('mars/R1a'); include("_projectCommon.php"); # Begin: page-specific settings. Change these. @@ -38,14 +40,6 @@ $Downloads->setRelease('mars'); //$Downloads->setFriendsEarlyAccess(TRUE); - require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/controller.eclipseInstaller.php"); - $EclipseInstaller = new EclipseInstaller(); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/mars/R1a/eclipse-inst-win32.exe', '32 bit'); - $EclipseInstaller->addlink('Windows', 'download.php?file=/oomph/epp/mars/R1a/eclipse-inst-win64.exe', '64 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/mars/R1a/eclipse-inst-linux32.tar.gz', '32 bit'); - $EclipseInstaller->addlink('Linux', 'download.php?file=/oomph/epp/mars/R1a/eclipse-inst-linux64.tar.gz', '64 bit'); - $EclipseInstaller->addlink('Mac OS X', 'download.php?file=/oomph/epp/mars/R1a/eclipse-inst-mac64.tar.gz', '64 bit'); - $App->Promotion = TRUE; require_once($_SERVER['DOCUMENT_ROOT'] . "/downloads/downloads/view.tpl.php"); |
