W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2006

validator/share/templates/en_US fatal-error.tmpl,1.14,1.15

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 12 Oct 2006 04:30:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1GXsDc-0000Hj-59@lionel-hutz.w3.org>

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv760/share/templates/en_US

Modified Files:
	fatal-error.tmpl 
Log Message:
fixing template order and logic to show warning about absence of character encoding
before fatal error when transcoding to utf-8 failed
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3642

(porting to HEAD code)



Index: fatal-error.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/fatal-error.tmpl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- fatal-error.tmpl	29 Apr 2006 16:32:46 -0000	1.14
+++ fatal-error.tmpl	12 Oct 2006 04:30:50 -0000	1.15
@@ -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">
Received on Thursday, 12 October 2006 04:30:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:54 GMT