- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 May 2005 07:13:46 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv14698/httpd/cgi-bin
Modified Files:
check
Log Message:
First take at
http://www.w3.org/Bugs/Public/show_bug.cgi?id=213
adding specific class to the info messages within parser output.
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.417
retrieving revision 1.418
diff -u -d -r1.417 -r1.418
--- check 9 May 2005 08:55:31 -0000 1.417
+++ check 10 May 2005 07:13:43 -0000 1.418
@@ -1507,6 +1507,11 @@
$err->{src} = $line;
$err->{col} = ' ' x $col;
$err->{expl} = $explanation;
+ if ($err->{type} eq 'I')
+ {
+ $err->{class} = 'msg_info';
+ }
+ # TODO other classes for "W", "E" etc?
push @{$Errors}, $err;
}
Received on Tuesday, 10 May 2005 07:13:52 UTC