summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-10-15 05:19:51 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-10-15 05:19:51 (EDT)
commita3aff0f84e4c10b5e7e920e9c4868b0b9b8ed99e (patch)
tree6fcff9b1b86976051c5777b4a0f0945177a6c7b7 /site
parent764f4742818be0bce6cb6b21a8ab0ef781a4ac4e (diff)
downloadlibreboot.org-a3aff0f84e4c10b5e7e920e9c4868b0b9b8ed99e.zip
libreboot.org-a3aff0f84e4c10b5e7e920e9c4868b0b9b8ed99e.tar.gz
libreboot.org-a3aff0f84e4c10b5e7e920e9c4868b0b9b8ed99e.tar.bz2
Add template donations page
Diffstat (limited to 'site')
-rw-r--r--site/donate/index.php58
-rw-r--r--site/index.php1
2 files changed, 59 insertions, 0 deletions
diff --git a/site/donate/index.php b/site/donate/index.php
new file mode 100644
index 0000000..4b5ff64
--- /dev/null
+++ b/site/donate/index.php
@@ -0,0 +1,58 @@
+<?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 "../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("Donating to libreboot"); ?></title>
+</head>
+
+<body>
+
+ <div>
+ <h1><?php echo gettext("Donating to libreboot"); ?></h1>
+ <p>
+ While the libreboot project does not yet accept financial contributions, <a href="../git/">patches are always welcome!</a>
+ </p>
+ <p>
+ However, there are some systems with libreboot preinstalled that you can purchase, linked
+ to from the <a href="../suppliers/">suppliers page</a>, which can support the libreboot project.
+ </p>
+ <p>
+ <a href="../">Back to home page</a>
+ </p>
+ </div>
+
+<?php
+ include "../common/footer.php";
+?>
+
+</body>
+</html>
+<?php
+ $strHtml = ob_get_clean();
+ echo miniHtml($strHtml);
+?>
diff --git a/site/index.php b/site/index.php
index 38e7011..9488de7 100644
--- a/site/index.php
+++ b/site/index.php
@@ -81,6 +81,7 @@
<ul>
<li><a href="docs/tasks.html">List of tasks that need to be completed</a></li>
<li><a href="docs/maintain/index.html">How to maintain libreboot</a></li>
+ <li><b><a href="donate/">Donating to libreboot</a></b></li>
</ul>
<h2 id="contact"><?php echo gettext("Contact the libreboot project"); ?></h2>
<ul>