summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2005-01-09 13:14:30 +0000
committerville <ville@localhost>2005-01-09 13:14:30 +0000
commitf74951a5eae4e80dfd6fa649854444e7007efac4 (patch)
tree1889649820ee55010714b5598303866cf9edf10c
parent4f400b5799811f635224d45c988682cc98e1dd65 (diff)
downloadmarkup-validator-f74951a5eae4e80dfd6fa649854444e7007efac4.zip
markup-validator-f74951a5eae4e80dfd6fa649854444e7007efac4.tar.gz
markup-validator-f74951a5eae4e80dfd6fa649854444e7007efac4.tar.bz2
Don't create links for uploaded documents.
-rw-r--r--share/templates/en_US/valid.tmpl16
1 files changed, 13 insertions, 3 deletions
diff --git a/share/templates/en_US/valid.tmpl b/share/templates/en_US/valid.tmpl
index d7b51da..6966b42 100644
--- a/share/templates/en_US/valid.tmpl
+++ b/share/templates/en_US/valid.tmpl
@@ -19,8 +19,12 @@
</dl>
</TMPL_IF>
<p>
+<TMPL_IF NAME="is_upload">
+ The uploaded document "<TMPL_VAR NAME="file_uri">"
+<TMPL_ELSE>
The document located at
&lt;<a href="<TMPL_VAR NAME="file_uri">"><TMPL_VAR NAME="file_uri"></a>&gt;
+</TMPL_IF>
was checked and found to be valid <TMPL_VAR NAME="file_version">.
This means that the resource in question identified itself as
"<TMPL_VAR NAME="file_version">" and that we successfully performed a
@@ -56,10 +60,16 @@
</TMPL_IF>
<p>
If you use <a href="http://www.w3.org/Style/CSS/">CSS</a> in your document,
- you should also <a title="Validate CSS at the W3C CSS Validator"
+ you should also
+<TMPL_IF NAME="is_upload">
+ check it for validity
+<TMPL_ELSE>
+ <a title="Validate CSS at the W3C CSS Validator"
href="http://jigsaw.w3.org/css-validator/validator?uri=<TMPL_VAR NAME="file_uri">">check
- it for validity</a> using the W3C <a
- href="http://jigsaw.w3.org/css-validator/">CSS Validation Service</a>.
+ it for validity</a>
+</TMPL_IF>
+ using the W3C
+ <a href="http://jigsaw.w3.org/css-validator/">CSS Validation Service</a>.
</p>
<TMPL_UNLESS NAME="is_upload">
<p>