Line 21... |
Line 21... |
21 |
|
21 |
|
22 |
<h2>Community and help</h2>
|
22 |
<h2>Community and help</h2>
|
23 |
|
23 |
|
24 |
<p>Need to get in touch? Wish to submit some packages, translate SvarDOS to your language, or otherwise contribute? Or maybe you'd like some information about SvarDOS? Come visit the <a href="?p=forum">SvarDOS community forum</a>. You may also wish to take a look at the project's <a href="https://github.com/SvarDOS/bugz/issues">bug tracker</a>.</p>
|
24 |
<p>Need to get in touch? Wish to submit some packages, translate SvarDOS to your language, or otherwise contribute? Or maybe you'd like some information about SvarDOS? Come visit the <a href="?p=forum">SvarDOS community forum</a>. You may also wish to take a look at the project's <a href="https://github.com/SvarDOS/bugz/issues">bug tracker</a>.</p>
|
25 |
|
25 |
|
- |
|
26 |
<?php
|
26 |
<?php // the "default" build proposed on the main page is read from default_build.txt
|
27 |
// the "default" build proposed on the main page is read from the
|
- |
|
28 |
// default_build.txt file, while "bleeding edge" is the latest entry
|
- |
|
29 |
// available in the download dir
|
27 |
$lastver = trim(file_get_contents('default_build.txt'));
|
30 |
$lastver = trim(file_get_contents('default_build.txt'));
|
28 |
|
- |
|
29 |
echo '<h2>Downloads (build ' . $lastver . ')</h2>'
|
31 |
$latestbuild = scandir('download/', SCANDIR_SORT_DESCENDING)[0];
|
30 |
?>
|
32 |
?>
|
31 |
|
33 |
|
- |
|
34 |
<h2>Downloads</h2>
|
- |
|
35 |
|
32 |
<p>SvarDOS is available in a variety of installation images. Some may be available as multilingual and English-only. The EN-only variants are smaller because they miss all the translations, which makes them fit on a lower number of floppy disks. You can always upgrade an EN-only installation to multilingual support simply by upgrading its packages.</p>
|
36 |
<p>SvarDOS is available in a variety of installation images. Some may be available as multilingual and English-only. The EN-only variants are smaller because they miss all the translations, which makes them fit on a lower number of floppy disks. You can always upgrade an EN-only installation to multilingual support simply by upgrading its packages.</p>
|
33 |
|
37 |
|
34 |
<div class="download">
|
38 |
<div class="download">
|
35 |
<div>
|
39 |
<div>
|
36 |
<h3>International edition</h3>
|
40 |
<h3>Stable build (<?php echo $lastver; ?>)</h3>
|
37 |
<ul>
|
41 |
<ul>
|
38 |
<?php
|
42 |
<?php
|
39 |
$arr = array('cd' => 'CD-ROM ISO', 'floppy-2.88M' => '2.88M floppy disk', 'floppy-1.44M' => '1.44M floppy disks', 'floppy-1.2M' => '1.2M floppy disks', 'floppy-720K' => '720K floppy disks', 'usb' => 'bootable USB image');
|
43 |
$arr = array('cd' => 'CD-ROM ISO', 'floppy-1.44M' => '1.44M floppy disks', 'floppy-1.2M' => '1.2M floppy disks', 'floppy-720K' => '720K floppy disks', 'floppy-360K' => '360K floppy disks', 'usb' => 'bootable USB image');
|
40 |
|
44 |
|
41 |
foreach ($arr as $l => $d) {
|
45 |
foreach ($arr as $l => $d) {
|
42 |
echo "<li><a href=\"download/{$lastver}/svardos-{$lastver}-{$l}.zip\">{$d}</a></li>\n";
|
46 |
echo "<li><a href=\"download/{$lastver}/svardos-{$lastver}-{$l}.zip\">{$d}</a></li>\n";
|
43 |
}
|
47 |
}
|
44 |
?>
|
48 |
?>
|
45 |
</ul>
|
49 |
</ul>
|
46 |
</div>
|
50 |
</div>
|
47 |
<div>
|
- |
|
48 |
<h3>English only</h3>
|
- |
|
49 |
<ul>
|
- |
|
50 |
<?php
|
- |
|
51 |
$arr = array('floppy-1.44M' => '1.44M floppy disk', 'floppy-1.2M' => '1.2M floppy disks', 'floppy-720K' => '720K floppy disks', 'floppy-360K' => '360K floppy disks');
|
- |
|
52 |
|
- |
|
53 |
foreach ($arr as $l => $d) {
|
- |
|
54 |
echo "<li><a href=\"download/{$lastver}/svardos-{$lastver}-{$l}-EN_ONLY.zip\">{$d}</a></li>\n";
|
- |
|
55 |
}
|
- |
|
56 |
?>
|
- |
|
57 |
</ul>
|
- |
|
58 |
<p>(no translations, less floppies)</p>
|
- |
|
59 |
</div>
|
- |
|
60 |
<?php
|
51 |
<?php
|
61 |
$latestbuild = scandir('download/', SCANDIR_SORT_DESCENDING)[0];
|
- |
|
62 |
if ($latestbuild !== $lastver) {
|
52 |
if ($latestbuild !== $lastver) {
|
63 |
echo " <div>\n";
|
53 |
echo " <div>\n";
|
64 |
echo " <h3>Bleeding edge</h3>\n";
|
54 |
echo " <h3>Bleeding edge</h3>\n";
|
65 |
echo " <ul><li><a href=\"?p=files&dir={$latestbuild}\">build {$latestbuild}</a></li></ul>\n";
|
55 |
echo " <ul><li><a href=\"?p=files&dir={$latestbuild}\">build {$latestbuild}</a></li></ul>\n";
|
66 |
echo " <p>⚠ This build has not been thoroughly tested! Let us know how it works for you.</p>\n";
|
56 |
echo " <p>⚠ This build has not been thoroughly tested! Let us know how it works for you.</p>\n";
|