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

validator/share/templates/en_US valid.tmpl,1.7,1.8

From: Terje Bless <link@dev.w3.org>
Date: Sat, 05 Feb 2005 04:08:33 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1CxHFJ-0005X6-FI@lionel-hutz.w3.org>

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

Modified Files:
	valid.tmpl 
Log Message:
Renabling badges; close Bug #915.


Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- valid.tmpl	15 Jan 2005 15:20:39 -0000	1.7
+++ valid.tmpl	5 Feb 2005 04:08:31 -0000	1.8
@@ -35,10 +35,11 @@
 <TMPL_IF NAME="have_badge">
   <p>
     <img
-      class="inline-badge"
-      src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
+      class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
       alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
-      <TMPL_VAR NAME="badge_gifhw"> />
+      <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
@@ -48,7 +49,7 @@
   &lt;p&gt;
     &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">/check/referer"&gt;&lt;img
         src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
-        alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"<TMPL_VAR NAME="badge_gifhw"><TMPL_VAR NAME="badge_xhtml">&gt;&lt;/a&gt;
+        <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>
Received on Saturday, 5 February 2005 04:08:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:48 GMT