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

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 UTC