danf: curl-www/dlwiz index.cgi,1.17,1.18

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dlwiz
In directory labb:/tmp/cvs-serv10974/dlwiz

Modified Files:
	index.cgi 
Log Message:
Added metalinks to the main download page and the download wizard.
Added a metalink CSS style.


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- index.cgi	25 Oct 2006 17:05:29 -0000	1.17
+++ index.cgi	1 Mar 2007 20:14:00 -0000	1.18
@@ -692,6 +692,7 @@
     my $ssl=$$e{'ssl'} eq "No"?"no":"";
     my $sslenable=$$e{'ssl'} eq "No"?"disabled":"enabled";
     my $mirror=$$e{'re'} ne "-"?"<a href=\"http://curl.haxx.se/latest.cgi?curl=$$e{'re'}\">mirrored versions</a>":"";
+    my $metalink=$$e{'re'} ne "-"?"<span class=\"metalink\"><a href=\"http://curl.haxx.se/metalink.cgi?curl=$$e{'re'}\"><img src=\"/pix/metalink.png\" border=\"0\" alt=\"\">metalink</a></span>":"";
     my $pack=$$e{'pack'};
     my $aboutver;
     my $version=$$e{'curl'};
@@ -747,7 +748,7 @@
 <div class="yellowbox">
 <a href="$file"><img align="right" src="download.gif" border="0" width="100" height="30"></a>
 curl version: $version <img src="/${ssl}ssl.png"> (SSL $sslenable)
-<br>URL:&nbsp;<a href="$file">$show</a> $mirror
+<br>URL:&nbsp;<a href="$file">$show</a> $mirror $metalink
 $provided
 </div>
 MOO
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.