summaryrefslogtreecommitdiffstats
path: root/site/functions.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-15 08:02:50 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-15 08:02:50 (EDT)
commit856f062df5d85afaa52cbe088afc3a9fa8a2d29b (patch)
tree1dec113095a068e87bc1f7e65c239ffcd9ebe472 /site/functions.php
parent50cd1c3a2fc992f9e6a7ac140338fa4fee4e016c (diff)
downloadlibreboot.org-856f062df5d85afaa52cbe088afc3a9fa8a2d29b.zip
libreboot.org-856f062df5d85afaa52cbe088afc3a9fa8a2d29b.tar.gz
libreboot.org-856f062df5d85afaa52cbe088afc3a9fa8a2d29b.tar.bz2
Remove torrent-related items, rename torrent list to lbRelease
(and put it in variables.php) Libreboot has enough mirrors now, to the point where torrents are not needed for the time being. The plan to host libreboot via bittorrent is therefore shelved.
Diffstat (limited to 'site/functions.php')
-rw-r--r--site/functions.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/site/functions.php b/site/functions.php
index e930638..689326a 100644
--- a/site/functions.php
+++ b/site/functions.php
@@ -20,36 +20,6 @@
<?php
/* Functions */
-
- /* Generic function for showing a list of torrents */
- function torrent_list($arrayTorrentLink, $forIndexStart, $forIndexBelow) {
-
- if ((count($arrayTorrentLink)>=($forIndexStart+1)) && (count($arrayTorrentLink)>=$forIndexBelow)) {
- for ($release=$forIndexStart; $release<$forIndexBelow; $release++) {
-?>
- <h2><?php echo $arrayTorrentLink[$release][0][0]; ?></h2>
- <p>
- Released on <?php echo $arrayTorrentLink[$release][0][1]; ?>.
- </p>
- <ul>
-<?php
- for ($archive=1; $archive<count($arrayTorrentLink[$release]); $archive++) {
-?>
- <li><a href="<?php echo $arrayTorrentLink[$release][$archive][1]; ?>"><?php echo $arrayTorrentLink[$release][$archive][0]; ?></a></li>
-<?php
- }
-?>
- </ul>
-<?php
- }
- } else {
-?>
- <p>No torrents found.</p>
-<?php
- }
-
- return;
- }
/* Generic function for showing a list of URLs */
function list_items($arrayMirrors,$strNotFoundMessage,$forIndexStart,$forIndexbelow) {