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

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

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 Feb 2009 14:41:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LV5QN-0006dv-36@lionel-hutz.w3.org>

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 GMT

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