Ups
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@507 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
parent
cf43a9d427
commit
7c1d0497a1
|
@ -58,7 +58,7 @@
|
||||||
-->
|
-->
|
||||||
<xsl:for-each select="resource">
|
<xsl:for-each select="resource">
|
||||||
<enclosure
|
<enclosure
|
||||||
url="{replace(., ' ', '+')}"
|
url="{translate(., ' ', '+')}"
|
||||||
length="{@size}"
|
length="{@size}"
|
||||||
type="{@type}"
|
type="{@type}"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -251,7 +251,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:for-each select="resource">
|
<xsl:for-each select="resource">
|
||||||
<li>
|
<li>
|
||||||
<a href="{replace(., ' ', '+'}" type="{@type}">
|
<a href="{translate(., ' ', '+')}" type="{@type}">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
|
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
|
||||||
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:for-each select="resource[not(@hide='yes')]">
|
<xsl:for-each select="resource[not(@hide='yes')]">
|
||||||
<li>
|
<li>
|
||||||
<a href="{replace(., ' ', '+')}" type="{@type}">
|
<a href="{translate(., ' ', '+')}" type="{@type}">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
|
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
|
||||||
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
|
||||||
|
|
Loading…
Reference in New Issue