summaryrefslogtreecommitdiffstats
path: root/site/index.php
blob: d7280d9ff6b1b9d46ec39f4a712976fcf6c046fb (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
<?php
/*
    Home page
    Copyright (C) 2014, 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 "variables.php";
	include_once "functions.php";
?>
<!DOCTYPE html>
<html>
<head>
	<style type="text/css">
		<?php echo miniCss(file_get_contents("css/main.css")); ?>
	</style>
	<title><?php echo gettext("Libreboot project"); ?></title>
</head>

<body>

	<div>
		<p>
			<img src="logo/s.png" alt="" />
		</p>
		<h1><?php echo gettext("Libreboot project"); ?></h1>
			<p>
				<?php
						echo gettext("Libreboot is a <a href=\"https://www.fsf.org/about/what-is-free-software\">free</a> (libre) BIOS/UEFI replacement. Based on <a href=\"http://coreboot.org/\">coreboot</a>, the aim is to distribute low-level boot firmware that is 100% free software, and easy to use.");
				?> <a href="docs/index.html#why"><?php echo gettext("Why use libreboot?"); ?></a>
			</p>
	</div>

	<div>
		<h1><?php echo gettext("Downloads"); ?></h1>
			<ul>
				<li><a href="download/#archives"><?php echo gettext("Stable releases"); ?></a></li>
				<li><a href="download/#gpg"><?php echo gettext("GPG"); ?></a></li>
				<li><a href="download/#mirror">Rsync</a></li>
				<li><a href="download/#git">Git</a></li>
				<li><a href="<?php echo $lbFirmwareGitwebAddress; ?>"><?php echo gettext("Browse the repository"); ?></a></li>
			</ul>
	</div>

	<div>
		<h1><?php echo gettext("Support"); ?></h1>
			<ul>
				<li><a href="docs/index.html"><?php echo gettext("Documentation"); ?></a></li>
				<li><a href="docs/hcl/index.html#supported_list"><?php echo gettext("Compatibility list"); ?></a></li>
				<li><a href="docs/install/index.html"><?php echo gettext("Install libreboot"); ?></a></li>
				<li><a href="docs/gnulinux/grub_boot_installer.html"><?php echo gettext("Install GNU/Linux"); ?></a></li>
				<li><a href="docs/gnulinux/grub_cbfs.html"><?php echo gettext("Boot GNU/Linux"); ?></a></li>
			</ul>
		<h2><?php echo gettext("Contact"); ?></h2>
			<ul>
				<li><a href="contrib/"><?php echo gettext("Maintainers"); ?></a></li>
				<li><a href="<?php echo $userMailingListAddress; ?>"><?php echo gettext("Mailing list"); ?></a></li>
				<li><a href="<?php echo $devMailingListAddress; ?>"><?php echo gettext("Dev mailing list"); ?></a></li>
				<li><a href="<?php echo $ircChannelAddress; ?>"><?php echo $ircChannelName; ?></a></li>
			</ul>
	</div>

<?php
	include "footer.php";
?>

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