[gcompris] doc website, now really use png instead of svg.



commit afc7d1658d340517d6c16a97ee57ef38bafeb7a3
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Mon Nov 5 19:55:31 2012 +0100

    doc website, now really use png instead of svg.

 docs/spip_oneboard.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/spip_oneboard.xsl b/docs/spip_oneboard.xsl
index 4ce2a7e..81214ce 100644
--- a/docs/spip_oneboard.xsl
+++ b/docs/spip_oneboard.xsl
@@ -62,7 +62,7 @@
 
                     <DIV class="flottante">
                       <IMG border="0" alt="" align="right">
-                        <xsl:attribute name="src"><xsl:value-of select="concat('boardicons/',translate(@icon,'.svg','.png'))"/></xsl:attribute>
+                        <xsl:attribute name="src"><xsl:value-of select="concat('boardicons/',substring-before(@icon,'.svg'),'.png')"/></xsl:attribute>
                       </IMG>
 
                       <xsl:if test="@difficulty">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]