Author: andre
Date: 2009-09-14 17:37:39 +0200 (Mon, 14 Sep 2009)
New Revision: 38606

Modified:
   openimages/trunk/src/main/webapp/mediafragment.jspx
Log:
translations



Modified: openimages/trunk/src/main/webapp/mediafragment.jspx
===================================================================
--- openimages/trunk/src/main/webapp/mediafragment.jspx 2009-09-14 15:34:02 UTC 
(rev 38605)
+++ openimages/trunk/src/main/webapp/mediafragment.jspx 2009-09-14 15:37:39 UTC 
(rev 38606)
@@ -261,7 +261,11 @@
                       <dt>
                         <a href="${_}"><oip:thumb /></a>
                       </dt>
-                      <dd> <mm:field name="title" escape="wrapper" /> </dd>
+                      <dd>
+                        <mm:nodefunction name="translation">
+                          <mm:field name="title" escape="wrapper" />
+                        </mm:nodefunction>
+                      </dd>
                     </dl>
                   </mm:link>
                   <jsp:text> </jsp:text>
@@ -305,10 +309,17 @@
                   <c:otherwise><c:set var="gridclass" value="grid" 
/></c:otherwise>
                 </c:choose>
                 <dl class="${gridclass}">
+                  <mm:nodefunction name="translation">
+                    <mm:import id="mf_title" reset="true"><mm:field 
name="title" /></mm:import>
+                  </mm:nodefunction>
                   <dt>
-                    <a href="${_}" title="${_node.title}"><oip:thumb /></a>
+                    <a href="${_}" title="${mf_title}"><oip:thumb /></a>
                   </dt>
-                  <dd> <mm:field name="title" escape="wrapper" /> </dd>
+                  <dd>
+                    <mm:nodefunction name="translation">
+                      <mm:field name="title" escape="wrapper" />
+                    </mm:nodefunction>
+                  </dd>
                 </dl>
               </mm:link>
             </mm:listnodes>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to