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

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 11 Sep 2009 11:08:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mm3zW-0001U5-Ku@lionel-hutz.w3.org>
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 GMT

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