diff options
Diffstat (limited to 'site/download')
-rw-r--r-- | site/download/index.php | 38 |
1 files changed, 5 insertions, 33 deletions
diff --git a/site/download/index.php b/site/download/index.php index 8de4669..750e604 100644 --- a/site/download/index.php +++ b/site/download/index.php @@ -107,7 +107,6 @@ </p> <h2 id="http">HTTP mirrors</h2> - <?php /* show HTTP mirrors */ echo mirrorList($lbHttpMirror, gettext("HTTP mirrors not added yet."),0,count($lbHttpMirror)); @@ -122,44 +121,17 @@ <div class="s"> - <h1 id="mirror"><?php echo gettext("Rsync mirrors (for mirroring libreboot)"); ?></h1> + <h1 id="mirror"><?php echo gettext("Mirroring libreboot (via rsync)"); ?></h1> <p> <?php echo gettext("Create a directory in your web server document root (e.g. libreboot/), and add one of these to your crontab:"); ?> </p> -<?php - if (count($lbRsyncServer)>0) { -?> - <h2><?php echo gettext("Main rsync mirror:"); ?></h2> - <p> - $ <b>rsync -avxP --delete --stats <?php echo $lbRsyncServer[0]; ?> /path/to/docroot/libreboot/</b> - </p> -<?php - if(count($lbRsyncServer)>1) { -?> - <h2><?php echo gettext("Backup rsync mirrors:"); ?></h2> - <p> -<?php - for ($server=1; $server<count($lbRsyncServer); $server++) { -?> - $ <b>rsync -avxP --delete --stats <?php echo $lbRsyncServer[$server]; ?> /path/to/docroot/libreboot/</b><br/> -<?php - } -?> - </p> -<?php - } - } else { -?> - <p> - <b><?php echo gettext("No mirrors available yet."); ?></b> - </p> -<?php - } -?> + <?php + echo rsyncList($lbRsyncServer, gettext("No mirrors available in this range."), 0, count($lbRsyncServer)); + ?> <p> - <?php echo gettext("Are you running a mirror? Contact the libreboot project (details are on the home page), and the link will be added here."); ?> + <?php echo gettext("Are you running a mirror? Contact the libreboot project (details are on the home page), and the link will be added on this page."); ?> </p> </div> |