diff options
author | ot <ot@localhost> | 2005-05-17 05:21:30 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2005-05-17 05:21:30 +0000 |
commit | bed476ec154933b45187cb80b30bdbe8e94f5472 (patch) | |
tree | 62ce70f7ef038cf85e3df4a892e240731b785bff | |
parent | ce296c3a2f5a054ba96cee1515748cd4b85ff4e5 (diff) | |
download | markup-validator-bed476ec154933b45187cb80b30bdbe8e94f5472.zip markup-validator-bed476ec154933b45187cb80b30bdbe8e94f5472.tar.gz markup-validator-bed476ec154933b45187cb80b30bdbe8e94f5472.tar.bz2 |
Modifying the results when a page is "tentatively" valid versus valid.
- removing redundant "tentatively valid" from banner
- specific text (taken from old, not used warning text)
see http://www.w3.org/Bugs/Public/show_bug.cgi?id=1392
- specific class for the "tentatively valid" banner, can be used to set
another style than the usual valid one.
-rw-r--r-- | share/templates/en_US/valid.tmpl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/share/templates/en_US/valid.tmpl b/share/templates/en_US/valid.tmpl index a93e487..ce7808e 100644 --- a/share/templates/en_US/valid.tmpl +++ b/share/templates/en_US/valid.tmpl @@ -1,6 +1,6 @@ <div id="result"> <TMPL_IF NAME="is_tentative"> - <h2 class="valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"> (Tentatively Valid)!</h2> + <h2 class="tentative_valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"></h2> <TMPL_ELSE> <h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2> </TMPL_IF> @@ -18,12 +18,22 @@ The document located at <<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>> </TMPL_IF> +<TMPL_IF NAME="is_tentative"> + was checked and found to be <em>tentatively</em> valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">. + This means that with the use of some fallback or override mechanism, + we successfully performed a formal validation using an SGML or XML + Parser. In other words, the document would validate as + <TMPL_VAR NAME="file_version" ESCAPE="HTML"> if you changed the markup + to match the changes we have performed automatically, but + <strong>it will not be valid until you make these changes</strong>. +<TMPL_ELSE> was checked and found to be valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">. This means that the resource in question identified itself as "<TMPL_VAR NAME="file_version" ESCAPE="HTML">" and that we successfully performed a formal validation using an SGML or XML Parser (depending on the markup language used). +</TMPL_IF> </p> <TMPL_IF NAME="have_badge"> <p> |