summaryrefslogtreecommitdiffstats
path: root/site/download/index.php
blob: 33242dfe0f6ffd9fd99cad2c8512132b03e0d0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/*
    Download page
    Copyright (C) 2015  Francis Rowe <info@gluglug.org.uk>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
	header('Content-type: text/html; charset=utf-8');
	ob_start();
	include_once "../common/variables.php";
	include_once "../common/functions.php";
?>
<!DOCTYPE html>
<html>
<head>
	<style type="text/css">
		<?php echo miniCss(file_get_contents("../common/css/main.css")); ?>
	</style>
	<title><?php echo gettext("Download libreboot"); ?></title>
</head>

<body>

	<div>

		<h1><?php echo gettext("Download libreboot (stable releases)"); ?></h1>

			<p>
				<strong>
					<?php echo gettext("The latest release is:"); ?> <?php echo $lbRelease[0][0][0]; ?>.
					<?php echo gettext("Release date:"); ?> <?php echo $lbRelease[0][0][1]; ?>.
				</strong> <a href="../"><?php echo gettext("Back to home page"); ?></a>
			</p>
			<p>
				These are stable releases, intended for general use. If you want something more up to date
				(but potentially lethal), see <a href="#unstable">#unstable</a>.
			</p>

			<h2 id="http">HTTP mirrors</h2>
<?php
				/* show HTTP mirrors */
				echo mirrorList($lbHttpMirror, gettext("HTTP mirrors not added yet."),0,count($lbHttpMirror));
?>
			<h2 id="ftp">FTP mirrors</h2>
<?php
				/* show FTP mirrors */
				echo mirrorList($lbFtpMirror,gettext("FTP mirrors not added yet."),0,count($lbFtpMirror));
?>

	</div>

	<div>
		<h1 id="unstable">Download libreboot (unstable/beta releases)</h1>
			<p style="font-size:120%">
				<strong>WARNING: the probability that these releases will brick your machine is above 70%. You may also be attacked by sharks.
				Proceed with caution.</strong>
			</p>
			<p>
				Over time, stable libreboot release cycles have become much slower, due to more boards being supported
				and more work being done, which means a lot more testing/fixing needs to be done before each release. 
				Therefore, we now offer unstable releases in between stable releases.
				These releases are updated fairly regularly, built from the latest version of libreboot
				from the <a href="../git/">git repository</a>.
			</p>
			<p>
				<a href="../beta/">Download the unstable releases here</a>
			</p>
	</div>

<?php
	include "../common/ccs.php";
	include "../common/footer.php";
?>

</body>
</html>
<?php
	$strHtml = ob_get_clean();
	echo miniHtml($strHtml);
?>