Skip to content

Commit 8d99158

Browse files
author
jantje
committed
update based on global.txt and tell windows users jre is included
1 parent fe5ff3d commit 8d99158

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

website/WebContent/stable.php

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
require 'fragments/file-buttons.php';
3-
$version = "4.1";
3+
include 'globals.txt';
4+
$version = $STABLE_VERSION_MAJOR."."$STABLE_VERSION_MINOR;
45

56
if (isset ( $_GET ["OS"] ))
67
$OS = $_GET ["OS"];
@@ -43,21 +44,22 @@
4344

4445
<div class="container" role="main">
4546
<div class="page-header">
46-
<?php echo "<h1>$OS Latest Stable <small>runs smoothly and nicely</small></h1>"; ?>
47+
<?php echo "<h1>$OS $version Latest Stable <small>runs smoothly and nicely</small></h1>"; ?>
4748
<a name="top">&nbsp;</a>
4849
</div>
4950
<p>This is the latest stable build of Arduino Eclipse IDE and it's
5051
available as a product and a plugin: pick the one you prefer!</p>
5152
<h3>Product bundle</h3>
5253
<a name="product">&nbsp;</a>
53-
<p><strong>Strongly advised when you are new to the Arduino eclipse IDE.</strong></p>
54-
<p>This is the simplest way to start using Arduino Eclipse as it
54+
<p><strong>Strongly advised when you are new to Sloeber.</strong></p>
55+
<p>This is the simplest way to start using Sloeber as it
5556
bundles in one single download a complete setup including a stable
5657
version of the Eclipse CDT and the latest stable build of our great
5758
Arduino eclipse IDE!</p>
59+
<?php if($os=="win"){echo "<p>It even includes java.</p>";}; ?>
60+
<p>This is also the only supported setup!</p>
5861

5962

60-
If you have download issues try another browser. Firefox seems to work fine on all oses. chrome seems to have issues.
6163
<div class="row">
6264
<?php
6365
listFiles("V" . $version . '_' . $os);?>
@@ -70,13 +72,16 @@
7072
<p>If you want to pick a different version of the Eclipse CDT than the
7173
one included in the product bundle or you want to add the Arduino
7274
Eclipse plugin to an existing installation this is the way to go.</p>
75+
<p>Though this setup works this setup is not supported because setting it up is not so easy and the number of combinations is ... kind of endless.</p>
7376
<div class="row">
7477
<div class="col-md-4 col-md-offset-4">
75-
<div class="well text-center">http://eclipse.baeyens.it/update/V4/stable</div>
78+
<?php
79+
echo"<div class="well text-center">http://eclipse.baeyens.it/update/V$STABLE_VERSION_MAJOR/stable</div>
80+
?>
7681
</div>
7782
</div>
7883
<div class="row">
79-
<p>Watch these V3.x new and noteworthy video's to get a quick start: (V4 video's are not yet released)</p>
84+
<p>Watch these V3.x new and noteworthy video's to get a quick start: (V4 video's are still not made)</p>
8085
<iframe width="560" height="315" src="https://www.youtube.com/embed/MGAyIOC24lU" frameborder="0" allowfullscreen></iframe>
8186

8287
<iframe width="560" height="315" src="https://www.youtube.com/embed/HE5iYxv-B-o" frameborder="0" allowfullscreen></iframe>

0 commit comments

Comments
 (0)