|
1 | 1 | <?php
|
2 | 2 | require 'fragments/file-buttons.php';
|
3 |
| -$version = "4.1"; |
| 3 | +include 'globals.txt'; |
| 4 | +$version = $STABLE_VERSION_MAJOR."."$STABLE_VERSION_MINOR; |
4 | 5 |
|
5 | 6 | if (isset ( $_GET ["OS"] ))
|
6 | 7 | $OS = $_GET ["OS"];
|
|
43 | 44 |
|
44 | 45 | <div class="container" role="main">
|
45 | 46 | <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>"; ?> |
47 | 48 | <a name="top"> </a>
|
48 | 49 | </div>
|
49 | 50 | <p>This is the latest stable build of Arduino Eclipse IDE and it's
|
50 | 51 | available as a product and a plugin: pick the one you prefer!</p>
|
51 | 52 | <h3>Product bundle</h3>
|
52 | 53 | <a name="product"> </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 |
55 | 56 | bundles in one single download a complete setup including a stable
|
56 | 57 | version of the Eclipse CDT and the latest stable build of our great
|
57 | 58 | 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> |
58 | 61 |
|
59 | 62 |
|
60 |
| - If you have download issues try another browser. Firefox seems to work fine on all oses. chrome seems to have issues. |
61 | 63 | <div class="row">
|
62 | 64 | <?php
|
63 | 65 | listFiles("V" . $version . '_' . $os);?>
|
|
70 | 72 | <p>If you want to pick a different version of the Eclipse CDT than the
|
71 | 73 | one included in the product bundle or you want to add the Arduino
|
72 | 74 | 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> |
73 | 76 | <div class="row">
|
74 | 77 | <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 | + ?> |
76 | 81 | </div>
|
77 | 82 | </div>
|
78 | 83 | <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> |
80 | 85 | <iframe width="560" height="315" src="https://www.youtube.com/embed/MGAyIOC24lU" frameborder="0" allowfullscreen></iframe>
|
81 | 86 |
|
82 | 87 | <iframe width="560" height="315" src="https://www.youtube.com/embed/HE5iYxv-B-o" frameborder="0" allowfullscreen></iframe>
|
|
0 commit comments