[Yanel-commits] rev 24140 - public/yanel/trunk/src/webapp/xslt

simon at wyona.com simon at wyona.com
Thu May 3 20:02:03 CEST 2007


Author: simon
Date: 2007-05-03 20:02:02 +0200 (Thu, 03 May 2007)
New Revision: 24140

Modified:
   public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
Log:
this patch fixes bug #5273. thanks to jonathan! 

Modified: public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl	2007-05-03 16:31:56 UTC (rev 24139)
+++ public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl	2007-05-03 18:02:02 UTC (rev 24140)
@@ -203,7 +203,7 @@
   </xsl:template>
 
   <xsl:template match="translation">
-    <a href="{$yanel.back2realm}{@path}"><xsl:value-of select="@language"/></a>
+    <a href="{$yanel.back2realm}{substring-after(@path, '/')}"><xsl:value-of select="@language"/></a>
     <xsl:if test="position() != last()">, </xsl:if>
   </xsl:template>
 




More information about the Yanel-commits mailing list