W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2007

validator/share/templates/en_US valid.tmpl,1.18,1.19

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Mar 2007 07:43:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HRO9J-000477-2m@lionel-hutz.w3.org>

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

Modified Files:
	valid.tmpl 
Log Message:
showing blue and "gold" icons upon successful validation


Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- valid.tmpl	1 Mar 2007 02:52:56 -0000	1.18
+++ valid.tmpl	14 Mar 2007 07:43:51 -0000	1.19
@@ -43,34 +43,46 @@
 </TMPL_IF>
   </p>
 <TMPL_IF NAME="have_badge">
+<h4>"valid" Icon(s) on your Web page</h4>
   <p>
-    <img
-      class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
-      alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
-      <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
-      <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
-       />
     To show your readers that you have taken the care to create an
     interoperable Web page, you may display this icon on any page
     that validates. Here is the HTML you could use to add this icon
     to your Web page:
   </p>
-  <pre>
+  <img
+    class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
+    alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
+    <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
+    <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
+     /> <pre class="badgeSnippet">
   &lt;p&gt;
     &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"&gt;&lt;img
         src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
         <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">&gt;&lt;/a&gt;
   &lt;/p&gt;
   </pre>
-  <p>
-    If you like, you can download a copy of this image (in
-    <a href="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">.png">PNG</a> or
-    <a href="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">.gif">GIF</a>
-    format) to keep in your local web directory, and change the HTML fragment
+  <TMPL_IF NAME="have_alt_badge">
+  <img
+    class="inline-badge" src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"
+    alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
+    <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
+    <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
+     /> <pre class="badgeSnippet">
+  &lt;p&gt;
+    &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"&gt;&lt;img
+        src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"
+        <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">&gt;&lt;/a&gt;
+  &lt;/p&gt;
+  </pre>
+  </TMPL_IF>
+  <p>A <a href="http://www.w3.org/QA/Tools/Icons">full list</a> of icons, with links to alternate formats and colors, is available: 
+    If you like, you can download a copy of the icons
+    to keep in your local web directory, and change the HTML fragment
     above to reference your local image rather than the one on this server.
   </p>
-  <p>A <a href="http://www.w3.org/QA/Tools/Icons">full list</a> of icons, with links to alternate formats and colors, is also available.</p>
 </TMPL_IF>
+<h4>Validating CSS, linking to this result</h4>
   <p>
     If you use <a href="http://www.w3.org/Style/CSS/">CSS</a> in your document,
     you should also
Received on Wednesday, 14 March 2007 07:43:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:21 UTC