diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-03-11 11:31:22 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-03-11 11:31:22 +0000 |
commit | c471c22566ea2eb810cd343d328a60ad3f34911b (patch) | |
tree | e7c31408bb9c0f19935a6e014824f8a2c76f0864 /en/alpha | |
parent | 9f3a0d02eb206526aa6ba7cb09f20c2b94709435 (diff) | |
download | www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.gz www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.bz2 www-c471c22566ea2eb810cd343d328a60ad3f34911b.tar.xz www-c471c22566ea2eb810cd343d328a60ad3f34911b.zip |
use correct html[lang], include mirrors script
Diffstat (limited to 'en/alpha')
-rw-r--r-- | en/alpha/index.php | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/en/alpha/index.php b/en/alpha/index.php index 5f4c95e0d..732a2cae9 100644 --- a/en/alpha/index.php +++ b/en/alpha/index.php @@ -41,38 +41,7 @@ <li>pick the server that suits you best (preferably in your own country);</li> <li>pick the ISO image that is best for you (their names should be self-evident, we hope).</li> </ol> - <br /> - <table id="dl-table"><thead> - <tr><th>Location</th><th>Protocol</th><th>Server</th></tr> - </thead><tbody> - <?php - /* @fixme note to self: brains! */ - $mirrors = array( - array('China', 'Beijing', 'http://fundawang.lcuc.org.cn/mageia/'), - array('Czech Republic', 'Praha', 'http://mageia.supp.name/'), - array('Deutschland', 'Erfurt', 'http://ftp.mandrivauser.de/mirrors/Mageia/'), - array('Deutschland', 'Erfurt', 'ftp://ftp.mandrivauser.de/mirrors/Mageia/'), - array('France', 'Paris', 'http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/'), - array('France', 'Paris', 'ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/'), - array('Nouvelle Calédonie', 'Nouméa', 'http://mageia.nautile.nc/mageia/distrib/'), - array('USA', 'Durham', 'ftp://distro.ibiblio.org/pub/linux/distributions/mageia/'), - array('USA', 'Durham', 'http://distro.ibiblio.org/pub/linux/distributions/mageia/'), - ); - $tmpl = '<tr><td>%s, %s</td><td>%s</td><td><a href="%s%s">%s</a></td></tr>'; - foreach ($mirrors as $m): - $pu = parse_url($m[2]); - echo sprintf($tmpl, - $m[1], $m[0], - strtoupper($pu['scheme']), - $m[2], - 'iso/', - $pu['host']); - endforeach; - ?> - </body> - </table> - - + <?php include '../../mirrors.php'; ?> </div></div> <div class="yui-g"> <div class="yui-u first"><div class="para" style="padding-right: 0;"> @@ -82,8 +51,8 @@ is left to be improved for the next weeks.</p> <ul> - <li><a href="http://blog.mageia.org/?p=492" hreflang="en">Blog post</a></li> - <li><a href="/wiki/doku.php?id=iso1:alpha1_release_notes" hreflang="en">Release Notes</a></li> + <li><a href="http://blog.mageia.org/en/?p=492" hreflang="en">Blog post</a></li> + <li><a href="/wiki/doku.php?id=iso1:alpha1_release_notes" hreflang="en">Release Notes</a></li> <li><a href="/wiki/doku.php?id=iso1:alpha1_errata" hreflang="en">Errata</a></li> <li><a href="/en/">What is Mageia?</a></li> </ul> |