Update web pages

This commit is contained in:
Sampo Niskanen 2013-10-06 09:59:49 +03:00
parent 3826a07cee
commit 824aa4420a
5 changed files with 39 additions and 20 deletions

View File

@ -80,12 +80,21 @@ header("Content-type: text/plain");
$version = $_GET["version"];
$updates = "";
$unstable = "13.09";
$unstable = "13.09.1";
$stable = "1.0.0";
if (preg_match("/^13.05$/", $version)) {
if (preg_match("/^13.09$/", $version)) {
$updates = "Version: " . $unstable . "\n" .
"6: New thrustcurves for Aerotech C3 and D2\n" .
"4: Updated Translations to Russian\n" .
"4: Updated 3D libraries\n" .
"4: Bug fixes\n" .
"";
} else if (preg_match("/^13.05$/", $version)) {
$updates = "Version: " . $unstable . "\n" .
"6: New thrustcurves for Aerotech C3 and D2\n" .
"4: Updated Translations to Russian\n" .
"4: Updated 3D libraries\n" .
"4: Bug fixes\n" .
"";
@ -94,6 +103,7 @@ if (preg_match("/^13.05$/", $version)) {
"10: Realistic 3D rendering\n" .
"9: Flight configurations\n" .
"8: Lower stage simulation\n" .
"6: New thrustcurves for Aerotech C3 and D2\n" .
"5: New translations\n" .
"4: Bug fixes\n" .
"";
@ -103,6 +113,7 @@ if (preg_match("/^13.05$/", $version)) {
"9: Flight configurations\n" .
"8: Lower stage simulation\n" .
"5: New translations\n" .
"6: New thrustcurves for Aerotech C3 and D2\n" .
"4: Bug fixes\n" .
"";
} else if (preg_match("/^12.03$/", $version)) {

View File

@ -48,6 +48,10 @@
<div class="content">
<div class="news">
<h2>Recent news:</h2>
<p><span class="date">6.10.2013:</span> Version 13.09.1 is
<a href="download.html">released</a>! This is a bug-fix release,
and includes updated 3D libraries and new thrust curves for
Aerotech C3 and D2.</p>
<p><span class="date">8.9.2013:</span> Version 13.09 is
<a href="download.html">released</a>! This release contains
numerous bug fixes, updated 3D JOGL libraries, and separated
@ -62,11 +66,6 @@
<p>Version 13.05 also changes the file format to be ZIP-based.
Versions earlier than 12.03 will not be able to read files saved
by this version.</p>
<p><span class="date">28.9.2012:</span> Version 12.09.1 is
<a href="download.html">released</a>! This is a bug-fix release,
fixing numerous bugs introduced in 12.09. The only new feature is
the option to automatically open the latest design file on startup
(in <em>Edit</em> &rarr; <em>Preferences</em> &rarr; <em>Options</em>).
</div>
<div class="contentholder">
<h2>Ready packages</h2>
@ -87,20 +86,20 @@
<a href="http://sourceforge.net/donate/index.php?group_id=260357"><img src="project-support.jpg" width="88" height="32" alt="Support This Project" /></a>
</div>
<div class="downloadbox">
<a class="main" href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09/OpenRocket-13.09.jar/download">
<a class="main" href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09.1/OpenRocket-13.09.1.jar/download">
<strong>Download now!</strong>
<span>OpenRocket-13.09.jar</span>
<span>OpenRocket-13.09.1.jar</span>
</a>
<span class="alternative">
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09/ReleaseNotes/view">Release notes</a> |
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09/OpenRocket-13.09-src.zip/download">Source code</a>
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09.1/ReleaseNotes/view">Release notes</a> |
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09.1/OpenRocket-13.09.1-src.zip/download">Source code</a>
</span>
</div>
<p>OpenRocket can be started in most graphical environments (including
Windows) by double-clicking the package icon. No installation is
required.</p>
<p>From the command line OpenRocket can be started by
<span class="command">java -jar OpenRocket-13.09.jar</span></p>
<span class="command">java -jar OpenRocket-13.09.1.jar</span></p>
<h3>Android version</h3>
<p>The Android version allows opening OpenRocket files, viewing
simulations and motors. Later versions will allow running

View File

@ -49,12 +49,12 @@
<h2>Introduction</h2>
<div class="rightpane">
<div class="downloadbox">
<a class="main" href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09/OpenRocket-13.09.jar/download">
<a class="main" href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09.1/OpenRocket-13.09.1.jar/download">
<strong>Download now!</strong>
<span>OpenRocket-13.09.jar</span>
<span>OpenRocket-13.09.1.jar</span>
</a>
<span class="alternative">
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09/ReleaseNotes/view">Release notes</a> |
<a href="https://sourceforge.net/projects/openrocket/files/openrocket/13.09.1/ReleaseNotes/view">Release notes</a> |
<a href="download.html">Other versions</a>
</span>
</div>
@ -96,6 +96,10 @@
<div class="clear"></div>
<div class="news">
<h2>News</h2>
<p><span class="date">6.10.2013:</span> Version 13.09.1 is
<a href="download.html">released</a>! This is a bug-fix release,
and includes updated 3D libraries and new thrust curves for
Aerotech C3 and D2.</p>
<p><span class="date">8.9.2013:</span> Version 13.09 is
<a href="download.html">released</a>! This release contains
numerous bug fixes, updated 3D JOGL libraries, and separated

View File

@ -1,4 +1,4 @@
<set version="13.09">
<set version="13.09.1">
<set androidversion="12.09">
<def name="downloadbox">

View File

@ -9,6 +9,11 @@
<!--- Remember to move the position of "onlyrecent" below! --->
<p><span class="date">6.10.2013:</span> Version 13.09.1 is
<a href="download.html">released</a>! This is a bug-fix release,
and includes updated 3D libraries and new thrust curves for
Aerotech C3 and D2.</p>
<p><span class="date">8.9.2013:</span> Version 13.09 is
<a href="download.html">released</a>! This release contains
numerous bug fixes, updated 3D JOGL libraries, and separated
@ -26,16 +31,16 @@
Versions earlier than 12.03 will not be able to read files saved
by this version.</p>
<if not onlyrecent><!--- Older items not shown on download page: --->
<p><span class="date">28.9.2012:</span> Version 12.09.1 is
<a href="download.html">released</a>! This is a bug-fix release,
fixing numerous bugs introduced in 12.09. The only new feature is
the option to automatically open the latest design file on startup
(in <em>Edit</em> &rarr; <em>Preferences</em> &rarr; <em>Options</em>).
<if not onlyrecent><!--- Older items not shown on download page: --->
<p><span class="date">23.9.2012:</span> Version 12.09 for Android is
<a href="download.html">released</a>! The major improvement is the
possibility to edit simulation parameters, thanks to work by Kevin