summaryrefslogtreecommitdiff
path: root/contrib_xsl/about-server.xsl
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-09-19 18:01:01 +0200
committerReid <reidyaro@gmail.com>2016-09-19 18:01:34 +0200
commit82add9ceb3027018c34b55b8b465f623b730aa54 (patch)
tree46b4e2685d5d252211bda7b3526dbd9ac3917fc0 /contrib_xsl/about-server.xsl
parentc4b98648ee365fcee10fe7b08665bbab3ae3d194 (diff)
downloadevol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.gz
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.bz2
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.xz
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.zip
Update the contributor XSLs.
Diffstat (limited to 'contrib_xsl/about-server.xsl')
-rw-r--r--contrib_xsl/about-server.xsl17
1 files changed, 9 insertions, 8 deletions
diff --git a/contrib_xsl/about-server.xsl b/contrib_xsl/about-server.xsl
index 2d8610f..6059f1a 100644
--- a/contrib_xsl/about-server.xsl
+++ b/contrib_xsl/about-server.xsl
@@ -35,7 +35,7 @@ Copyright (C) 2016 Evol Online -->
<xsl:text>##3-- &lt;&lt;Freesound Contributors&gt;&gt; --&#xa;</xsl:text>
<xsl:text>##3---------------------------&#xa;&#xa;</xsl:text>
- <xsl:apply-templates select="freesoundcontributor"/>
+ <xsl:apply-templates select="contributor"/>
</xsl:template>
<xsl:template match="other">
@@ -60,13 +60,14 @@ Copyright (C) 2016 Evol Online -->
<xsl:value-of select="@mailserver"/>
<xsl:text>&gt;</xsl:text>
</xsl:if>
- <xsl:text>&#xa;</xsl:text>
- </xsl:template>
-
- <xsl:template match="freesoundcontributor">
- <xml:text>##9<xsl:value-of select="@nick"/> </xml:text>
- <xsl:text> &lt;</xsl:text>
- <xsl:value-of select="@page"/>
+ <xsl:if test="@page">
+ <xsl:text>[@@</xsl:text>
+ <xsl:value-of select="@page"/>
+ <xsl:text>|&lt;&lt;</xsl:text>
+ <xsl:value-of select="@page"/>
+ <xsl:text>&gt;&gt; </xsl:text>
+ <xsl:text>@@]</xsl:text>
+ </xsl:if>
<xsl:text>&#xa;</xsl:text>
</xsl:template>