summaryrefslogtreecommitdiffstats
path: root/site/download
diff options
context:
space:
mode:
Diffstat (limited to 'site/download')
-rw-r--r--site/download/index.php49
-rw-r--r--site/download/oldtorrent/index.php118
2 files changed, 7 insertions, 160 deletions
diff --git a/site/download/index.php b/site/download/index.php
index 461cc95..ef3398e 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -19,7 +19,6 @@
?>
<?php
include_once "../variables.php";
- include_once "../torrents.php";
include_once "../functions.php";
?>
<!DOCTYPE html>
@@ -52,13 +51,7 @@
A copy of /docs/ can also be found in the release archives.
</p>
- <!-- <p>
- TODO: set up RSS and Atom feeds for the bittorrent links (but not the HTTP mirrors).
- The main gitweb page (for the main git repository) already generates atom/rss feeds.
- </p> -->
-
<ul class="ulnav">
- <!-- <li><a href="#torrent">Bittorrent</a></li> -->
<li><a href="#http">HTTP mirrors</a></li>
<li><a href="#git">Git repositories (development)</a></li>
</ul>
@@ -86,50 +79,22 @@
</p>
</div>
-
-<!--
- <div class="section" id="torrent">
-
- <p><b>Torrent links do not work yet. Use the HTTP downloads.</b></p>
-
- <h1>Bittorrent</h1>
-
- <?php
- /* Show current version */
- echo torrent_list($lbTorrentLink, 0, 1);
- ?>
-
- <?php
- /* Link to old releases */
- if (count($lbTorrentLink)>1) {
- ?>
- <p>
- Torrents for older releases can be found at <a href="oldtorrent/">oldtorrent/</a>.
- </p>
-<?php
- }
-?>
-
- <p><b>Torrent links do not work yet. Use the HTTP downloads.</b></p>
-
- </div>
--->
<div class="section" id="http">
<h1>HTTP mirrors</h1>
-<!--
- <p>
- These mirrors are intended mainly for those who cannot use
- bittorrent. Otherwise, the <a href="#torrent">torrent links</a>
- are highly recommended.
- </p>
--->
<p>
Download libreboot from one of these mirrors.
</p>
+ <p>
+ <b>
+ The latest release has a version number of <?php echo $lbRelease[0][0][0]; ?>,
+ and was released on <?php echo $lbRelease[0][0][1]; ?>.
+ </b>
+ </p>
+
<?php
/* show HTTP mirrors */
echo list_items($lbHttpMirror,"HTTP mirrors not added yet.",0,count($lbHttpMirror));
diff --git a/site/download/oldtorrent/index.php b/site/download/oldtorrent/index.php
deleted file mode 100644
index ad1ee76..0000000
--- a/site/download/oldtorrent/index.php
+++ /dev/null
@@ -1,118 +0,0 @@
-<?php
-/*
- Download page (old releases)
- 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/>.
-*/
-?>
-<?php
- include_once "../../variables.php";
- include_once "../../torrents.php";
- include_once "../../functions.php";
-?>
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="stylesheet" type="text/css" href="../../css/main.css" />
-
- <title>Download <?php echo $lbProjectName; ?> (old)</title>
-
-</head>
-
-<body>
-
- <div class="contain">
-
- <div id="libreboot" class="section intro">
-
- <p>
- <a href="../../images/welcome_screen.png"><img class="homepage_logo" src="../../images/welcome_screen_small.jpg" alt="" title="<?php include "../../images/welcome_screen.png.license.txt"; ?>" /></a>
- </p>
-
- <h1>Download <?php echo $lbProjectName; ?> (old)</h1>
-
- <p>
- This page is for old releases, distributed via the bittorrent network.
- </p>
-
- <p>
- Information about these releases can be found at <a href="../../docs/release.html">../../docs/release.html</a>.
- Documentation for a given release can be found under /docs/ in that release archive. The same documentation
- can also be found in the <a href="../#git">git repository</a> by reverting to the tag used for that release.
- </p>
-
- <!-- <p>
- TODO: set up RSS and Atom feeds for the bittorrent links (but not the HTTP mirrors).
- The main gitweb page (for the main git repository) already generates atom/rss feeds.
- </p> -->
-
- <p>
- <a href="../">Back to main download page</a>
- </p>
-
- </div>
-
- <div class="section" id="gpg">
-
- <h1 id="gpg">GPG signing key</h1>
-
- <p>
- <?php echo $lbProjectGpgKeyInfo; ?>
- </p>
- <p>
- Download the key:<br/>
- $ <b>gpg --recv-keys <?php echo $lbProjectGpgKeyID; ?></b>
- </p>
- <p>
- You can verify the downloaded archives as follows:<br/>
- $ <b>for signature in $(ls *.sig); do gpg --verify $signature; done</b>
- </p>
-
- </div>
-
- <div class="section" id="torrent">
-
- <p><b>Torrent links do not work yet. Use the HTTP downloads.</b></p>
-
- <h1>Bittorrent</h1>
- <p>
- The following is a list of links to old releases.
- </p>
-
- <?php
- /* Show all versions before the current stable release */
- echo torrent_list($lbTorrentLink, 1, count($lbTorrentLink));
- ?>
-
- <p><b>Torrent links do not work yet. Use the HTTP downloads.</b></p>
-
- </div>
-
- <div class="section footer">
-
-<?php
- include "../../footer.php";
-?>
-
- </div>
-
- </div>
-
-</body>
-</html>
-