2002/css-validator/org/w3c/css/css xhtml.properties,1.26,1.27

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv25511

Modified Files:
	xhtml.properties 
Log Message:
do not add link back to non-http resource - patch via Makoto Takahashi

Index: xhtml.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/xhtml.properties,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- xhtml.properties	5 Feb 2009 14:18:27 -0000	1.26
+++ xhtml.properties	5 Feb 2009 14:41:49 -0000	1.27
@@ -40,7 +40,11 @@
         </ul>
 #end
 <div id="results_container">
-        <h2>$W3C_validator_results <a href="$file_title">$file_title</a> ($css)</h2>
+#if ($file_title.trim().startsWith("http://"))
+   <h2>$W3C_validator_results <a href="$file_title">$file_title</a> ($css)</h2>
+#else
+   <h2>$W3C_validator_results $file_title($css)</h2>
+#end
 #if ( !$no_errors_report )
     #if ($errors_count == 0)
         <!-- NO ERRORS -->

Received on Thursday, 5 February 2009 14:41:59 UTC