link-checker commit: Fix HTML footer

changeset:   191:9ff4cf306dae
user:        ville
date:        Sat Sep 15 07:47:40 2007 +0000
files:       bin/checklink
description:
Fix HTML footer


diff -r ac52703491b7 -r 9ff4cf306dae bin/checklink
--- a/bin/checklink	Fri Sep 14 05:30:56 2007 +0000
+++ b/bin/checklink	Sat Sep 15 07:47:40 2007 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2007 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.69 2007-09-14 05:14:29 ot Exp $
+# $Id: checklink,v 4.70 2007-09-15 07:47:40 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -204,7 +204,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.3';
   $REVISION    = sprintf('version %s (c) 1999-2007 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.69 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.70 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -2221,14 +2221,14 @@
 {
   printf("<p>%s</p>\n", &global_stats()) if ($doc_count > 0 && !$Opts{Quiet});
   if (! $doc_count) {
-  printf(<<'EOF', $Cfg{Doc_URI}, $Cfg{Doc_URI}); 
+    print <<'EOF';
   <div class="intro">
-      <p>This Link Checker looks for issues in links, anchors and referenced objects in a Web page, or recursively on a whole Web site. 
+      <p>This Link Checker looks for issues in links, anchors and referenced objects in a Web page, or recursively on a whole Web site.
       For best results, it is recommended to first ensure that the documents checked use <a href="http://validator.w3.org/">Valid (X)HTML Markup</a>. The Link Checker is part of the W3C's <a href="http://www.w3.org/QA/Tools/">validators and Quality Web tools</a>.</p>
   </div>
 EOF
-}
-printf(<<'EOF', $PACKAGE, $REVISION);
+  }
+  printf(<<'EOF', $Cfg{Doc_URI}, $Cfg{Doc_URI}, $PACKAGE, $REVISION);
 </div><!-- main -->
 <ul class="navbar" id="menu">
   <li><a href="%s" accesskey="3" title="Documentation for this Link Checker Service">Docs</a></li>

Received on Thursday, 5 August 2010 14:47:21 UTC