summaryrefslogtreecommitdiffstats
path: root/site/download/index.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-21 00:19:58 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-21 00:19:58 (EST)
commitf8953319283675e680f8f733437778668c23b3c0 (patch)
tree33f279afe6427bebeb014d94a80e214e1fdf9806 /site/download/index.php
parent144564ea5f8e208402eabab1bd7dc9d15a988e28 (diff)
downloadlibreboot.org-f8953319283675e680f8f733437778668c23b3c0.zip
libreboot.org-f8953319283675e680f8f733437778668c23b3c0.tar.gz
libreboot.org-f8953319283675e680f8f733437778668c23b3c0.tar.bz2
Move backup git repositories to an array in variables.php
Diffstat (limited to 'site/download/index.php')
-rw-r--r--site/download/index.php36
1 files changed, 26 insertions, 10 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>