[gcompris] website, now uses png for icons instead of svg
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] website, now uses png for icons instead of svg
- Date: Sun, 4 Nov 2012 23:40:16 +0000 (UTC)
commit 29d575e9b02d5e039d72689d546a5ef2d2f6c953
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Mon Nov 5 00:38:55 2012 +0100
website, now uses png for icons instead of svg
Not all browser support 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 d4d8eaa..4ce2a7e 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/',@icon)"/></xsl:attribute>
+ <xsl:attribute name="src"><xsl:value-of select="concat('boardicons/',translate(@icon,'.svg','.png'))"/></xsl:attribute>
</IMG>
<xsl:if test="@difficulty">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]