diff options
Diffstat (limited to 'httpd')
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index caaf364..fd9724e 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.477 2007-03-14 06:33:35 ot Exp $ +# $Id: check,v 1.478 2007-03-14 07:43:50 ot Exp $ # # Disable buffering on STDOUT! @@ -180,7 +180,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.477 $; + $VERSION = q$Revision: 1.478 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -961,6 +961,10 @@ sub report_valid { 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}->{'ALT URI'}) { + $T->param(badge_alt_uri => $cfg->{Badge}->{'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}); |