Updated download page
diff --git a/download.php b/download.php
index ceb7710..0e4e74a 100644
--- a/download.php
+++ b/download.php
@@ -1,29 +1,79 @@
-<?php
+<?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($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
/*******************************************************************************
- * Copyright (c) 2009 Eclipse Foundation and others.
+ * Copyright (c) 2009, 2020
* 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:
- * Werner Keil
+ * Contributors: Werner Keil
+ *
*******************************************************************************/
- 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($App->getProjectCommon());
-
- $localVersion = false;
-
- # Define these here, or in _projectCommon.php for site-wide values
- $pageKeywords = "eclipse, project, uomo, units, measurement, ucum";
- $pageAuthor = "Werner Keil";
- $pageTitle = "UOMo Download";
-
-
- // # Paste your HTML content between the EOHTML markers!
- $html = file_get_contents('pages/_download.html');
+ $pageTitle = "Download";
+ $html = <<<EOHTML
+<div id="midcolumn">
+<h2>$pageTitle</h2>
+<p>
+<br>
+<br>
+<br>
+<br>
+</p>
+<p>
+<br>
+</p>
+ <h3>Snapshot</h3>
+
+ <h4>Eclipse UOMo 0.8 (Incubation)</h4>
+ <p><b>1. Unit Systems Update Site: </b> https://dl.bintray.com/unitsofmeasurement/p2/systems.uom_p2_site/1.3a/<br/>
+ <p><b>2. UOMo Update site: </b> http://download.eclipse.org/uomo/0.8/repository/<br/>
+ <p><b>   Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.8/eclipse-repository-0.8.0-SNAPSHOT.zip">eclipse-repository-0.8.0-SNAPSHOT.zip</a><br/>
+ </p>
+
+ <h3>Stable</h3>
+
+ <h4>Eclipse UOMo 0.7 (Incubation)</h4>
+ <p><b>1. Unit Systems Update Site: </b> https://dl.bintray.com/unitsofmeasurement/p2/systems.uom_p2_site/0.7/<br/>
+ <p><b>2. UOMo Update site: </b> http://download.eclipse.org/uomo/0.7/repository/<br/>
+ <p><b>   Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.7/eclipse-repository-0.7.0.zip">eclipse-repository-0.7.0.zip</a><br/>
+ <br/>
+ <p><b>RC2 Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.7/eclipse-repository-0.7.0-RC2.zip">eclipse-repository-0.7.0-RC2.zip</a><br/>
+ <p><b>RC1 Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.7/eclipse-repository-0.7.0-RC1.zip">eclipse-repository-0.7.0-RC1.zip</a><br/>
+ </p>
+
+
+ <h4>Eclipse UOMo 0.6.1 (Incubation)</h4>
+ <p><b>Update site: </b> http://download.eclipse.org/uomo/0.6.1/repository/<br/>
+
+ <p><b>Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.6.1/eclipse-repository-0.6.1.zip">eclipse-repository-0.6.1.zip</a><br/>
+ </p>
+
+ <h4>Eclipse UOMo 0.6 (Incubation)</h4>
+ <p><b>Update site: </b> http://download.eclipse.org/uomo/0.6/repository/<br/>
+ <p><b>Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/0.6/eclipse-repository-0.6.0.zip">eclipse-repository-0.6.0.zip</a><br/>
+
+ <p>
+ Use repository archives, if you are behind a <b>firewall</b>, have <b>proxy</b> problems with update sites in your corporate network of face other similar issues.<br/>
+ After downloading the archive, select it under "Install New Software" > "Add Repository" > "Archive..." and use as offline repository.
+ </p>
+
+ <h3>Older Versions</h3>
+
+ <h4>UOMo 0.7 for Kepler (Eclipse 4.3)</h4>
+ <p><b>Update site: </b> http://download.eclipse.org/uomo/kepler/0.7/repository/<br/>
+ <p><b>Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/kepler/0.7/eclipse-repository-0.7.0-SNAPSHOT.zip">eclipse-repository-0.7.0-SNAPSHOT.zip</a><br/>
+ </p>
+
+ <h4>UOMo 0.6 for Kepler (Eclipse 4.3)</h4>
+ <p><b>Update site: </b> http://download.eclipse.org/uomo/kepler/0.6/repository/<br/>
+
+ <p><b>Repository Archive to install Offline: </b><a href="http://download.eclipse.org/uomo/kepler/0.6/eclipse-repository-0.6.0.zip">eclipse-repository-0.6.0.zip</a><br/>
+ </p>
+
+</div>
+EOHTML;
# Generate the web page
- $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
-
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>
\ No newline at end of file
diff --git a/download0.php b/download0.php
new file mode 100644
index 0000000..ceb7710
--- /dev/null
+++ b/download0.php
@@ -0,0 +1,29 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2009 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:
+ * Werner Keil
+ *******************************************************************************/
+
+ 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($App->getProjectCommon());
+
+ $localVersion = false;
+
+ # Define these here, or in _projectCommon.php for site-wide values
+ $pageKeywords = "eclipse, project, uomo, units, measurement, ucum";
+ $pageAuthor = "Werner Keil";
+ $pageTitle = "UOMo Download";
+
+
+ // # Paste your HTML content between the EOHTML markers!
+ $html = file_get_contents('pages/_download.html');
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
+
+?>
\ No newline at end of file