summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--site/download/index.php36
-rw-r--r--site/variables.template.php10
2 files changed, 35 insertions, 11 deletions
diff --git a/site/download/index.php b/site/download/index.php
index 5315611..4cadfb2 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -95,19 +95,35 @@
Firmware: $ <b>git clone <?php echo $lbFirmwareGitRepoAddress; ?></b><br/>
Website: $ <b>git clone <?php echo $lbWebsiteGitRepoAddress; ?></b>
</p>
- <h3>Backup repositories</h3>
- <p>
- These are backup repositories, in case the main repository is down.
- Although these are regularly updated by the libreboot project, you
- should ideally use the main repository.
- </p>
+ <h2>Backup repositories</h2>
+ <p>
+ These are backup repositories, in case the main repository is down.
+ Although these are regularly updated by the libreboot project, you
+ should ideally use the main repository.
+ </p>
+
+ <h3>Libreboot firmware (coreboot distribution)</h3>
<p>
- Firmware: $ <b>git clone https://gitorious.org/libreboot-backup/libreboot.git</b><br/>
- Website: $ <b>git clone https://gitorious.org/libreboot-backup/libreboot-website.git</b>
+<?php
+ for ($server=0; $server<count($lbFirmwareBackupGitRepoAddress); $server++) {
+?>
+ $ <b>git clone <?php echo $lbFirmwareBackupGitRepoAddress[$server]; ?></b>
+ <?php if ($server!=count($lbFirmwareBackupGitRepoAddress)-1) echo "<br/>"; ?>
+<?php
+ }
+?>
</p>
+
+ <h3>Libreboot website</h3>
<p>
- Firmware: $ <b>git clone git://git.pehjota.net/libreboot-backup/libreboot.git</b><br/>
- Website: $ <b>git clone git://git.pehjota.net/libreboot-backup/libreboot.org.git</b>
+<?php
+ for ($server=0; $server<count($lbWebsiteBackupGitRepoAddress); $server++) {
+?>
+ $ <b>git clone <?php echo $lbWebsiteBackupGitRepoAddress[$server]; ?></b>
+ <?php if ($server!=count($lbWebsiteBackupGitRepoAddress)-1) echo "<br/>"; ?>
+<?php
+ }
+?>
</p>
</div>
diff --git a/site/variables.template.php b/site/variables.template.php
index d34bf0e..7ea1380 100644
--- a/site/variables.template.php
+++ b/site/variables.template.php
@@ -3,10 +3,18 @@
$lbFirmwareGitRepoAddress = "http://libreboot.org/libreboot.git";
$lbFirmwareGitwebAddress = "http://libreboot.org/gitweb/?p=libreboot.git";
-
$lbWebsiteGitRepoAddress = "http://libreboot.org/libreboot.org.git";
$lbWebsiteGitwebAddress = "http://libreboot.org/gitweb/?p=libreboot.org.git";
+ $lbFirmwareBackupGitRepoAddress = array(
+ "https://gitorious.org/libreboot-backup/libreboot.git",
+ "git://git.pehjota.net/libreboot-backup/libreboot.git"
+ );
+ $lbWebsiteBackupGitRepoAddress = array(
+ "https://gitorious.org/libreboot-backup/libreboot-website.git",
+ "git://git.pehjota.net/libreboot-backup/libreboot.org.git"
+ );
+
$lbBugTrackerAddress = "http://projects.mtjm.eu/projects/libreboot";
$userMailingListAddress = "https://lists.nongnu.org/mailman/listinfo/libreboot";