|
|
@ -184,6 +184,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter/pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:template match="pageOuter/pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
|
|
|
|
<xsl:param name="postfix"/> |
|
|
|
<xsl:param name="selected">-1</xsl:param> |
|
|
|
<xsl:param name="selected">-1</xsl:param> |
|
|
|
<xsl:if test="current() != '0'"> |
|
|
|
<xsl:if test="current() != '0'"> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
@ -191,7 +192,11 @@ |
|
|
|
<xsl:choose> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:when test="current() != $selected"> |
|
|
|
<xsl:when test="current() != $selected"> |
|
|
|
<a> |
|
|
|
<a> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/><xsl:value-of select="current()"/></xsl:attribute> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
|
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
|
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:when> |
|
|
|
</xsl:when> |
|
|
@ -205,6 +210,7 @@ |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="postfix"/> |
|
|
|
<xsl:with-param name="selected">-1</xsl:with-param> |
|
|
|
<xsl:with-param name="selected">-1</xsl:with-param> |
|
|
|
</xsl:apply-templates> |
|
|
|
</xsl:apply-templates> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
@ -214,6 +220,9 @@ |
|
|
|
<xsl:text> </xsl:text> |
|
|
|
<xsl:text> </xsl:text> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
|
|
|
|
<xsl:with-param name="postfix"> |
|
|
|
|
|
|
|
<xsl:if test="isReversed='true'">/reversed</xsl:if> |
|
|
|
|
|
|
|
</xsl:with-param> |
|
|
|
<xsl:with-param name="selected"> |
|
|
|
<xsl:with-param name="selected"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|