2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.13,1.14

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

Modified Files:
	macros_index.vm 
Log Message:
passes the lang parameter to the getMessage method of a Message

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- macros_index.vm	5 Oct 2009 14:26:21 -0000	1.13
+++ macros_index.vm	6 Oct 2009 09:58:55 -0000	1.14
@@ -19,7 +19,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 2)
 	<div class="error">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#if($message.doEvaluateContent())#evaluate($message.Content)#else$message.Content#end</pre>
 		#end
@@ -29,7 +29,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 1)
 	<div class="warning">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#evaluate($message.Content)</pre>
 		#end
@@ -39,7 +39,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 0)
 	<div class="info">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#evaluate($message.Content)</pre>
 		#end

Received on Tuesday, 6 October 2009 09:58:59 UTC