aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--en/downloads/get/index.php6
-rw-r--r--g/style/screen.css6
2 files changed, 8 insertions, 4 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">
diff --git a/g/style/screen.css b/g/style/screen.css
index d8391df4a..6abc447eb 100644
--- a/g/style/screen.css
+++ b/g/style/screen.css
@@ -274,6 +274,10 @@ ul.news li span.dt { font-weight: thin; font-size: 85%; color: #999;
.warn { color: #a00; }
.dlt2 tr.reco td { font-weight: bold; }
+.mirror-link { text-decoration: underline; padding: 0 2px; }
+ .mirror-link:hover { background: #eee; color: #000; }
+ .mirror-link .p { color: #888; }
+
.noborder { border-collapse: collapse; border: 0; }
.noborder td,
.noborder th { border: 0; }
@@ -424,4 +428,4 @@ h1#mgnavtitle a { color: #fff; }
color: white;
text-shadow: 0 1px 5px #444;
border-radius: 0 0 3px 3px;
-} \ No newline at end of file
+}