diff options
-rwxr-xr-x | httpd/cgi-bin/check | 6 | ||||
-rw-r--r-- | share/templates/en_US/fatal-error.tmpl | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 65d16fc..2b181e6 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.463 2006-08-26 13:09:11 ville Exp $ +# $Id: check,v 1.464 2006-10-12 04:30:49 ot Exp $ # # Disable buffering on STDOUT! @@ -180,7 +180,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.463 $; + $VERSION = q$Revision: 1.464 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -863,6 +863,8 @@ sub add_warning ($$) { push @{$File->{Warnings}}, $WID; $File->{T}->param($WID => TRUE, %{$params}); $File->{T}->param(have_warnings => TRUE); + $File->{E}->param($WID => TRUE, %{$params}); + $File->{E}->param(have_warnings => TRUE); $File->{S}->param($WID => TRUE, %{$params}); $File->{S}->param(have_warnings => TRUE); } diff --git a/share/templates/en_US/fatal-error.tmpl b/share/templates/en_US/fatal-error.tmpl index fd317f7..4ae73e7 100644 --- a/share/templates/en_US/fatal-error.tmpl +++ b/share/templates/en_US/fatal-error.tmpl @@ -4,6 +4,12 @@ <div id="head"> <TMPL_INCLUDE NAME="table.tmpl"> </div><!-- end of "head" --> + <TMPL_IF NAME="have_warnings"> + <TMPL_INCLUDE NAME="warnings.tmpl"> + </TMPL_IF> + + <div id="result"> + <h2 id="results" class="invalid">Sorry! This document can not be checked.</h2> <a id="skip" name="skip"></a> <TMPL_IF NAME="fatal_transcode_error"> @@ -154,7 +160,7 @@ page by URL. </p> </TMPL_IF> - +</div><!-- results --> </div><!-- end of "main" --> <TMPL_INCLUDE NAME="footer.tmpl"> |