W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2009

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

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 10 Feb 2009 18:37:29 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LWxU9-0002ET-Ni@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:08 GMT