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

2006/unicorn/WebContent/WEB-INF/resources/templates/includes footer.vm,1.3,1.4

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 03 Sep 2009 14:04:14 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MjCv8-0006ez-66@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv25473/WebContent/WEB-INF/resources/templates/includes

Modified Files:
	footer.vm 
Log Message:
changing language does not loose the observation parameters

Index: footer.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/footer.vm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- footer.vm	3 Sep 2009 12:27:29 -0000	1.3
+++ footer.vm	3 Sep 2009 14:04:12 -0000	1.4
@@ -6,7 +6,11 @@
 	<ul id="lang_choice">
 #foreach( $key in $languages.keySet() )
 		<li>
-			<a href="?${queryString}ucn_lang=$key" lang="$key" xml:lang="$key" hreflang="$key" rel="alternate">$languages.get($key)</a>
+			#if ($key == $lang)
+			$languages.get($key)
+			#else
+			<a href="${queryString}ucn_lang=$key" lang="$key" xml:lang="$key" hreflang="$key" rel="alternate">$languages.get($key)</a>
+			#end
 		</li>
 #end
 	</ul>
Received on Thursday, 3 September 2009 14:04:26 GMT

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