diff options
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"> |