summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-xhttpd/cgi-bin/check12
1 files changed, 9 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 84af918..75b1f10 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.141 2001-07-16 08:08:34 link Exp $
+# $Id: check,v 1.142 2001-07-16 09:03:47 link Exp $
#
# We need Perl 5.004.
@@ -80,9 +80,9 @@ my $element_ref = 'http://www.htmlhelp.com/reference/html40/';
#
# Strings
-$VERSION = q$Revision: 1.141 $;
+$VERSION = q$Revision: 1.142 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
-$DATE = q$Date: 2001-07-16 08:08:34 $;
+$DATE = q$Date: 2001-07-16 09:03:47 $;
$MAINTAINER = 'gerald@w3.org';
$NOTICE = ''; # "<p><strong>Note: This service will be ...</strong>";
@@ -1270,6 +1270,12 @@ sub report_valid {
$gifborder = "";
$gifhw = ' height="31" width="88"';
$xhtmlendtag = " /";
+ } elsif ($version =~ /XHTML 1.1/) {
+ $image_uri = "${abs_svc_uri}/images/vxhtml11";
+ $alttext = "Valid XHTML 1.1!";
+ $gifborder = "";
+ $gifhw = ' height="31" width="88"';
+ $xhtmlendtag = " /";
} elsif ($version =~ /HTML 3\.0/) {
$image_uri = "${abs_svc_uri}images/vh30";
$alttext = "Valid HTML 3.0!";