|
|
@ -94,14 +94,19 @@ |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<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> |
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|
<a class="separate"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:if test="current() != $selected"> |
|
|
|
<xsl:when test="current() != $selected"> |
|
|
|
|
|
|
|
<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:if> |
|
|
|
|
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
|
|
|
|
<xsl:value-of select="current()"/> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter" mode="withoutCurrent"> |
|
|
|
<xsl:template match="pageOuter" mode="withoutCurrent"> |
|
|
@ -114,6 +119,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter" mode="withCurrent"> |
|
|
|
<xsl:template match="pageOuter" mode="withCurrent"> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
|
|
|
|
<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="selected"> |
|
|
|
<xsl:with-param name="selected"> |
|
|
@ -127,16 +133,21 @@ |
|
|
|
</xsl:choose> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:with-param> |
|
|
|
</xsl:with-param> |
|
|
|
</xsl:apply-templates> |
|
|
|
</xsl:apply-templates> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
<a class="separate"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:if test="unlimited='false'"> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
|
|
|
|
<a> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/>all</xsl:attribute> |
|
|
|
<xsl:attribute name="href"><xsl:value-of select="$baseLink"/>all</xsl:attribute> |
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
|
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:if test="next"> |
|
|
|
<xsl:text>|</xsl:text> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
<a class="separate"> |
|
|
|
<a> |
|
|
|
<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:attribute> |
|
|
|
<xsl:text>Ñëåäóþùàÿ ñòðàíèöà</xsl:text> |
|
|
|
<xsl:text>Ñëåäóþùàÿ ñòðàíèöà</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|