validator/httpd/cgi-bin check,1.305.2.126,1.305.2.127

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

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
Nuking excessive hard-coded "Help Wanted" stuff. Feedback request is now a
simple link and toned down; and doesn't get repeated for every message
specification in verbosemsgs.conf either.

Also get rid of the "verbose" parameter in the config file for messages
that don't actually have a verbose explanation.


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.126
retrieving revision 1.305.2.127
diff -u -d -r1.305.2.126 -r1.305.2.127
--- check	16 May 2004 22:12:24 -0000	1.305.2.126
+++ check	17 May 2004 04:38:04 -0000	1.305.2.127
@@ -1931,8 +1931,12 @@
         } else {
           $Msgs{$num} = 1;
           print $RSRC->{msg}->{$num}->{verbose}
-            if $RSRC->{msg}->{$num};
+            if exists $RSRC->{msg}->{$num}
+            && exists $RSRC->{msg}->{$num}->{verbose};
         }
+        my $_msg = $RSRC->{msg}->{nomsg}->{verbose};
+        $_msg =~ s/<!--MID-->/$num/g;
+        print $_msg; # The send feedback plea.
       }
       print "</li>\n";
     }

Received on Monday, 17 May 2004 00:41:16 UTC