- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Feb 2009 18:37:29 +0000
- To: www-validator-cvs@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 UTC