summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-05-07 15:59:54 +0000
committerot <ot@localhost>2007-05-07 15:59:54 +0000
commit4f26fd3a2f5104e854ddb535459341a4363cced0 (patch)
tree6cfa7dde8df01733769f9a0a7eefaf945635e48c
parent52d0faa9a749541f92088e5462d7c0a3d0b123c7 (diff)
downloadmarkup-validator-4f26fd3a2f5104e854ddb535459341a4363cced0.zip
markup-validator-4f26fd3a2f5104e854ddb535459341a4363cced0.tar.gz
markup-validator-4f26fd3a2f5104e854ddb535459341a4363cced0.tar.bz2
better output in case of fatal error
-rw-r--r--share/templates/en_US/fatal-error.tmpl8
-rw-r--r--share/templates/en_US/table.tmpl4
2 files changed, 11 insertions, 1 deletions
diff --git a/share/templates/en_US/fatal-error.tmpl b/share/templates/en_US/fatal-error.tmpl
index e54c43d..923b39a 100644
--- a/share/templates/en_US/fatal-error.tmpl
+++ b/share/templates/en_US/fatal-error.tmpl
@@ -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" -->
diff --git a/share/templates/en_US/table.tmpl b/share/templates/en_US/table.tmpl
index 3374e91..2f92125 100644
--- a/share/templates/en_US/table.tmpl
+++ b/share/templates/en_US/table.tmpl
@@ -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>