|
|
@ -128,6 +128,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> |
|
|
@ -137,6 +138,7 @@ |
|
|
|
<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:attribute> |
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:when> |
|
|
|
</xsl:when> |
|
|
|
<xsl:otherwise> |
|
|
|
<xsl:otherwise> |
|
|
@ -157,9 +159,13 @@ |
|
|
|
<xsl:param name="baseLink"> |
|
|
|
<xsl:param name="baseLink"> |
|
|
|
<xsl:value-of select="/root/currentBaseUrl"/> |
|
|
|
<xsl:value-of select="/root/currentBaseUrl"/> |
|
|
|
</xsl:param> |
|
|
|
</xsl:param> |
|
|
|
|
|
|
|
<xsl:variable name="postfix"> |
|
|
|
|
|
|
|
<xsl:if test="isReversed='true'">-reversed</xsl:if> |
|
|
|
|
|
|
|
</xsl:variable> |
|
|
|
<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:value-of select="$postfix"/></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'"> |
|
|
@ -175,7 +181,11 @@ |
|
|
|
<xsl:choose> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
<a> |
|
|
|
<a> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/>all</xsl:attribute> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
|
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
|
|
|
|
<xsl:text>all</xsl:text> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:when> |
|
|
|
</xsl:when> |
|
|
@ -186,7 +196,11 @@ |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<a rel="next"> |
|
|
|
<a rel="next"> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/><xsl:value-of select="next"/></xsl:attribute> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
|
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
|
|
|
|
<xsl:value-of select="next"/> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
<xsl:text>Next</xsl:text> |
|
|
|
<xsl:text>Next</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
@ -194,11 +208,18 @@ |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter" mode="footer"> |
|
|
|
<xsl:template match="pageOuter" mode="footer"> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
|
|
|
|
<xsl:variable name="postfix"> |
|
|
|
|
|
|
|
<xsl:if test="isReversed='true'">-reversed</xsl:if> |
|
|
|
|
|
|
|
</xsl:variable> |
|
|
|
<a href="#top">Top</a> |
|
|
|
<a href="#top">Top</a> |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<a rel="next"> |
|
|
|
<a rel="next"> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/><xsl:value-of select="next"/></xsl:attribute> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
|
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
|
|
|
|
<xsl:value-of select="next"/> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
<xsl:text>Next</xsl:text> |
|
|
|
<xsl:text>Next</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|