diff options
author | Romain d'Alverny <rda@mageia.org> | 2013-05-02 17:25:48 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2013-05-02 17:25:48 +0000 |
commit | d809baf7234a133234f6833e054780b6f4f90cf4 (patch) | |
tree | 5bd69eef1599ad8373b8148ab3a382c87d5f805c /en/downloads/get | |
parent | 1722d624d50fb4c99b06a57acf766a7f0c9a093e (diff) | |
download | www-d809baf7234a133234f6833e054780b6f4f90cf4.tar www-d809baf7234a133234f6833e054780b6f4f90cf4.tar.gz www-d809baf7234a133234f6833e054780b6f4f90cf4.tar.bz2 www-d809baf7234a133234f6833e054780b6f4f90cf4.tar.xz www-d809baf7234a133234f6833e054780b6f4f90cf4.zip |
clearer display of available protocols per mirror
Diffstat (limited to 'en/downloads/get')
-rw-r--r-- | en/downloads/get/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php index 465f1bc34..3884ee20c 100644 --- a/en/downloads/get/index.php +++ b/en/downloads/get/index.php @@ -94,12 +94,13 @@ try { $s = array(); foreach ($cities as $city => $mirrors2) { $mirs = array(); + rsort($mirrors2); foreach ($mirrors2 as $m) { $pm = parse_url($m); $alt_dl_link = str_replace('$MIRROR', $m, $download_tmpl); $mirs[] = sprintf( - '%s://<a href="%s" rel="nofollow">%s</a>', - $pm['scheme'], $alt_dl_link, $pm['host'] + '<a href="%s" rel="nofollow" class="mirror-link"><span class="p">%s</span> %s</a>', + $alt_dl_link, strtoupper($pm['scheme']), $pm['host'] ); } $s[] = sprintf('<td>%s</td><td>%s</td>', rewrite_city($city), implode(', ', $mirs)); @@ -217,7 +218,6 @@ if (!isset($_ENV['APP_MODE']) || $_ENV['APP_MODE'] == 'prod') { <hr /> - </div></div> <div class="yui-g" style="border-top: 1px solid #ddd;"> <div class="yui-g first"><div class="para"> |