summaryrefslogtreecommitdiffstats
path: root/site/download/index.php
blob: 47061241baf4e1a54289f961af87192cc8d02462 (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
<?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"); ?></h1>

			<p>
				<b>
					<?php echo gettext("The latest release is:"); ?> <?php echo $lbRelease[0][0][0]; ?>.
					<?php echo gettext("Release date:"); ?> <?php echo $lbRelease[0][0][1]; ?>.
				</b> <a href="../"><?php echo gettext("Back to home page"); ?></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>

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

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