2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.6,1.7

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv5671/WebContent/WEB-INF/resources/templates/includes

Modified Files:
	macros_index.vm 
Log Message:
hidden input parameter ucn_lang only present if parameter ucn_lang is defined in the request

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- macros_index.vm	10 Sep 2009 15:38:41 -0000	1.6
+++ macros_index.vm	11 Sep 2009 11:08:32 -0000	1.7
@@ -1,6 +1,6 @@
 #macro (submit_button)
 					<div class="submit">
-						<input type="hidden" name="${param_prefix}lang" value="$lang" class="lang" />
+						#if ($!param_lang)<input type="hidden" name="${param_prefix}lang" value="$lang" class="lang" />#end
 						<input type="hidden" name="${param_prefix}task" value="$current_task.getID()" class="task" />
 						<input type="submit" value="$submit" />
 					</div>

Received on Friday, 11 September 2009 11:08:43 UTC