validator/share/templates/en_US valid.tmpl,1.24,1.25

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

Modified Files:
	valid.tmpl 
Log Message:
Using local images for display, when available.



Index: valid.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/valid.tmpl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- valid.tmpl	31 May 2007 00:57:45 -0000	1.24
+++ valid.tmpl	5 Jul 2007 07:10:02 -0000	1.25
@@ -58,7 +58,7 @@
     to your Web page:
   </p>
   <img
-    class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
+    class="inline-badge" src="<TMPL_IF NAME="have_local_badge"><TMPL_VAR NAME="local_badge_uri" ESCAPE="HTML"><TMPL_ELSE><TMPL_VAR NAME="badge_uri" ESCAPE="HTML"></TMPL_IF>"
     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>
@@ -71,7 +71,7 @@
   </pre>
   <TMPL_IF NAME="have_alt_badge">
   <img
-    class="inline-badge" src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"
+    class="inline-badge" src="<TMPL_IF NAME="have_local_badge"><TMPL_VAR NAME="local_alt_badge_uri" ESCAPE="HTML"><TMPL_ELSE><TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML"></TMPL_IF>"
     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>

Received on Thursday, 5 July 2007 07:10:05 UTC