W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2005

validator/share/templates/en_US valid.tmpl,1.4,1.5

From: Ville Skytta <ville@dev.w3.org>
Date: Sun, 09 Jan 2005 13:14:33 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1Cnctt-0001Zu-3z@lionel-hutz.w3.org>

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

Modified Files:
	valid.tmpl 
Log Message:
Don't create links for uploaded documents.

Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- valid.tmpl	14 Nov 2004 08:39:41 -0000	1.4
+++ valid.tmpl	9 Jan 2005 13:14:30 -0000	1.5
@@ -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>
Received on Sunday, 9 January 2005 13:14:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:19 UTC