From 0e94461327c7c757793587703498b206934d0484 Mon Sep 17 00:00:00 2001
From: Francis Rowe
Date: Wed, 27 May 2015 12:05:56 -0400
Subject: download page: name each mirror
---
(limited to 'site')
diff --git a/site/contrib/index.php b/site/contrib/index.php
index df70d19..524c101 100644
--- a/site/contrib/index.php
+++ b/site/contrib/index.php
@@ -19,6 +19,7 @@
?>
diff --git a/site/download/index.php b/site/download/index.php
index 3e50b40..8de4669 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -94,9 +94,6 @@
-
-
-
@@ -113,54 +110,57 @@
FTP mirrors
-
-
-
-
-
+
+
+
+
+
+
+
+
0) {
?>
-
-
- $ rsync -avxP --delete --stats /path/to/docroot/libreboot/
-
+
+
+ $ rsync -avxP --delete --stats /path/to/docroot/libreboot/
+
1) {
?>
-
-
+
+
- $ rsync -avxP --delete --stats /path/to/docroot/libreboot/
+ $ rsync -avxP --delete --stats /path/to/docroot/libreboot/
-
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/site/functions.php b/site/functions.php
index 689326a..0e20d2b 100644
--- a/site/functions.php
+++ b/site/functions.php
@@ -22,23 +22,21 @@
/* Functions */
/* Generic function for showing a list of URLs */
- function list_items($arrayMirrors,$strNotFoundMessage,$forIndexStart,$forIndexbelow) {
+ function mirrorList($arrayMirrors,$strNotFoundMessage,$forIndexStart,$forIndexbelow) {
?>
-
0) {
for ($server=$forIndexStart; $server<$forIndexbelow; $server++) {
?>
-
+ ()
-
+
-
diff --git a/site/index.php b/site/index.php
index 02de923..246a327 100644
--- a/site/index.php
+++ b/site/index.php
@@ -19,6 +19,7 @@
?>
diff --git a/site/variables.php b/site/variables.php
index 29aa4e8..06b6f4b 100644
--- a/site/variables.php
+++ b/site/variables.php
@@ -39,20 +39,20 @@
/* HTTP mirrors (for release archives) */
$lbHttpMirror = array(
- "http://mirrors.mit.edu/libreboot/",
- "http://www.mirrorservice.org/sites/libreboot.org/release/",
- "https://freedombox.org/libreboot/",
- "http://elmondo74.fr/libreboot/",
- "http://elgrande74.net/libreboot/",
- "http://mirror.linux.ro/libreboot/",
- "https://ginette.swordarmor.fr/libreboot/",
- "http://ginette.swordarmor.fr/libreboot/",
- "http://libreboot.nedson.net/"
+ array("http://mirrors.mit.edu/libreboot/","MIT University, USA"),
+ array("http://www.mirrorservice.org/sites/libreboot.org/release/","University of Kent, UK"),
+ array("https://freedombox.org/libreboot/","freedombox.org, Switzerland"),
+ array("http://elmondo74.fr/libreboot/","elmondo74.fr, France"),
+ array("http://elgrande74.net/libreboot/","elgrande74.net, France"),
+ array("http://mirror.linux.ro/libreboot/","linux.ro, Romania"),
+ array("https://ginette.swordarmor.fr/libreboot/","swordarmor.fr, France"),
+ array("http://ginette.swordarmor.fr/libreboot/","swordarmor.fr, France"),
+ array("http://libreboot.nedson.net/","nedson.net, Canada")
);
- /* HTTP mirrors (for release archives) */
+ /* FTP mirrors (for release archives) */
$lbFtpMirror = array(
- "ftp://ftp.mirrorservice.org/sites/libreboot.org/release/",
- "ftp://ftp.linux.ro/libreboot/"
+ array("ftp://ftp.mirrorservice.org/sites/libreboot.org/release/","University of Kent, UK"),
+ array("ftp://ftp.linux.ro/libreboot/","linux.ro, Romania")
);
/* rsync servers (for release archives). Put the main one first */
--
cgit v0.9.1