diff options
Diffstat (limited to 'site/download')
-rw-r--r-- | site/download/index.php | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/site/download/index.php b/site/download/index.php index d21da16..1026dd9 100644 --- a/site/download/index.php +++ b/site/download/index.php @@ -121,23 +121,18 @@ are highly recommended. </p> - <ul> <?php - if (count($lbHttpMirror)>0) { - for ($server=0; $server<count($lbHttpMirror); $server++) { + /* show HTTP mirrors */ + echo list_items($lbHttpMirror,"HTTP mirrors not added yet.",0,count($lbHttpMirror)); ?> - <li><a href="<?php echo $lbHttpMirror[$server]; ?>"><?php echo $lbHttpMirror[$server]; ?></a></li> + <h2 id="ftp">FTP mirrors</h2> <?php - } - } else { + /* show HTTP mirrors */ + echo list_items($lbFtpMirror,"FTP mirrors not added yet.",0,count($lbFtpMirror)); ?> - <li>HTTP mirrors not added yet.</li> -<?php - } -?> - </ul> + - <h2 id="mirror">Mirroring <?php echo $lbProjectName; ?></h2> + <h2 id="mirror">Rsync mirrors (for mirroring <?php echo $lbProjectName; ?>)</h2> <p> Create a directory in your web server document root (e.g. <?php echo $lbProjectName; ?>/), and add one of these to your crontab: |