- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 07 May 2007 15:59:56 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv28373/share/templates/en_US
Modified Files:
fatal-error.tmpl table.tmpl
Log Message:
better output in case of fatal error
Index: fatal-error.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/fatal-error.tmpl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- fatal-error.tmpl 29 Mar 2007 06:17:55 -0000 1.16
+++ fatal-error.tmpl 7 May 2007 15:59:54 -0000 1.17
@@ -1,9 +1,10 @@
<TMPL_INCLUDE NAME="header.tmpl">
<div id="main">
+ <TMPL_INCLUDE NAME="table.tmpl">
<div id="result">
- <h2 id="results" class="invalid">Sorry! This document can not be checked.</h2>
+ <h3 id="results" class="invalid">Sorry! This document can not be checked.</h3>
<a id="skip" name="skip"></a>
<TMPL_IF NAME="fatal_transcode_error">
@@ -154,6 +155,11 @@
page by URL.
</p>
</TMPL_IF>
+
+<TMPL_IF NAME="have_warnings">
+ <TMPL_INCLUDE NAME="warnings.tmpl">
+</TMPL_IF>
+
</div><!-- results -->
</div><!-- end of "main" -->
Index: table.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/table.tmpl,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- table.tmpl 15 Mar 2007 06:54:48 -0000 1.26
+++ table.tmpl 7 May 2007 15:59:54 -0000 1.27
@@ -6,7 +6,11 @@
<h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2>
</TMPL_IF>
<TMPL_ELSE>
+ <TMPL_IF NAME="fatal_error">
+ <h2 id="results" class="invalid">Sorry! This document can not be checked.</h2>
+ <TMPL_ELSE>
<h2 id="results" class="invalid">This page is <strong>not</strong> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2>
+ </TMPL_IF>
</TMPL_IF>
Received on Monday, 7 May 2007 15:59:58 UTC