- From: Terje Bless <link@dev.w3.org>
- Date: Sat, 05 Feb 2005 04:08:33 +0000
- To: www-validator-cvs@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 @@ <p> <a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">/check/referer"><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">></a> + <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">></a> </p> </pre> <p>
Received on Saturday, 5 February 2005 04:08:33 UTC