perl/modules/W3C/LinkChecker/bin checklink,4.142,4.143

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv8556

Modified Files:
	checklink 
Log Message:
Don't hardcode path to w3c.png, resolve it from Doc_URI.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.142
retrieving revision 4.143
diff -u -d -r4.142 -r4.143
--- checklink	10 Feb 2009 18:36:31 -0000	4.142
+++ checklink	10 Feb 2009 18:37:27 -0000	4.143
@@ -2386,8 +2386,8 @@
 {
   my $tagline ="Check links and anchors in Web pages or full Web sites";
 
-  printf(<<'EOF', $tagline);
-<div id="banner"><h1 id="title"><a href="http://www.w3.org/" title="W3C"><img alt="W3C" id="logo" src="http://validator.w3.org/images/w3c.png" /></a>
+  printf(<<'EOF', URI->new_abs("../images/w3c.png", $Cfg{Doc_URI}), $tagline);
+<div id="banner"><h1 id="title"><a href="http://www.w3.org/" title="W3C"><img alt="W3C" id="logo" src="%s" /></a>
 <a href="checklink"><span>Link Checker</span></a></h1>
 <p id="tagline">%s</p></div>
 <div id="main">

Received on Tuesday, 10 February 2009 18:37:39 UTC