W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/httpd/cgi-bin check,1.534,1.535

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 Jul 2007 07:10:03 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1I6LTX-00032y-WA@lionel-hutz.w3.org>

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv11348/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Using local images for display, when available.



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.534
retrieving revision 1.535
diff -u -d -r1.534 -r1.535
--- check	29 Jun 2007 00:37:37 -0000	1.534
+++ check	5 Jul 2007 07:10:01 -0000	1.535
@@ -1113,10 +1113,18 @@
       my $cfg = $CFG->{Types}->{$File->{DOCTYPE}};
       $T->param(have_badge => TRUE);
       $T->param(badge_uri  => $cfg->{Badge}->{URI});
+      if (exists $CFG->{Types}->{$File->{DOCTYPE}}->{Badge}->{'Local URI'}) {
+              $T->param(local_badge_uri  => $cfg->{Badge}->{'Local URI'});
+              $T->param(have_local_badge => TRUE);
+      }
       if (exists $CFG->{Types}->{$File->{DOCTYPE}}->{Badge}->{'ALT URI'}) {
       $T->param(badge_alt_uri  => $cfg->{Badge}->{'ALT URI'});
+        if (exists $CFG->{Types}->{$File->{DOCTYPE}}->{Badge}->{'Local ALT URI'}) {
+          $T->param(local_alt_badge_uri  => $cfg->{Badge}->{'Local ALT URI'});
+        }
       $T->param(have_alt_badge => TRUE);
       }
+      
       $T->param(badge_alt  => $cfg->{Badge}->{Alt});
       $T->param(badge_h    => $cfg->{Badge}->{Height});
       $T->param(badge_w    => $cfg->{Badge}->{Width});
Received on Thursday, 5 July 2007 07:10:09 GMT

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