Update of /cvsroot/curl/curl-www
In directory labb:/tmp/cvs-serv2559
Modified Files:
latest.cgi
Log Message:
minor edits and new field order of the download table
Index: latest.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/latest.cgi,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- latest.cgi 14 Nov 2005 10:14:52 -0000 1.28
+++ latest.cgi 14 Nov 2005 10:31:32 -0000 1.29
@@ -286,17 +286,17 @@
"(<a href=\"#verified\">verified</a> ".&time_ago.")\n";
if($showall && ($inmycontinent || $inmycountry)) {
- print "<p> <a href=\"$script?curl=$what\">Show my best mirrors</a>";
+ print "<p> <a href=\"$script?curl=$what\">Show my closest mirrors</a>";
}
elsif($inmycountry) {
- print "<p>$inmycountry of these mirrors are located in ".ucfirst(lc($mycountry))." where it looks like you are located. <a href=\"$script?curl=$what&all=yes\">Show all</a>\n";
+ print "<p>$inmycountry of these mirrors are located in ".ucfirst(lc($mycountry))." where it looks like you are located. <p><a href=\"$script?curl=$what&all=yes\">Show all mirrors</a>\n";
}
elsif($inmycontinent) {
print "<p>$inmycontinent of these mirrors are located in ".ucfirst(lc($mycontinent))." where it looks like you are located. Showing those mirrors only!\n";
}
print "<table><tr class=\"tabletop\">";
- for((' ', 'Location', 'Proto', 'Host', 'File')) {
+ for((' ', 'Location', 'Download', 'Proto', 'Host')) {
print "<th>$_</th>";
}
print "</tr>\n";
@@ -322,14 +322,14 @@
}
$i++;
- printf "<tr class=\"%s\"><td>%s</td><td><b>%s</b></td><td>%s</td><td>%s</td><td><a href=\"%s\">%s</a></td></tr>\n",
+ printf "<tr class=\"%s\"><td>%s</td><td><b>%s</b></td><td><a href=\"%s\">%s</a></td><td>%s</td><td>%s</td></tr>\n",
$i&1?"odd":"even",
$flag,
$where{$url},
- $proto{$url},
- $host{$url},
$url,
- $archive;
+ $archive,
+ $proto{$url},
+ $host{$url};
}
print "</table>\n";
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.