|
|
@ -240,11 +240,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter" mode="withoutCurrent"> |
|
|
|
<xsl:template match="pageOuter" mode="withoutCurrent"> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:param name="baseLink"/> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<xsl:if test="isEmpty = 'false'"> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
<p> |
|
|
|
<xsl:with-param name="postfix"/> |
|
|
|
<xsl:text>Ñòðàíèöû: </xsl:text> |
|
|
|
<xsl:with-param name="selected">-1</xsl:with-param> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
</xsl:apply-templates> |
|
|
|
<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:apply-templates> |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
|
|
<xsl:template match="pageOuter" mode="withCurrent"> |
|
|
|
<xsl:template match="pageOuter" mode="withCurrent"> |
|
|
@ -252,51 +257,54 @@ |
|
|
|
<xsl:variable name="postfix"> |
|
|
|
<xsl:variable name="postfix"> |
|
|
|
<xsl:if test="isReversed='true'">-reversed</xsl:if> |
|
|
|
<xsl:if test="isReversed='true'">-reversed</xsl:if> |
|
|
|
</xsl:variable> |
|
|
|
</xsl:variable> |
|
|
|
<xsl:text> </xsl:text> |
|
|
|
<xsl:when test="total > 0"> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
<div> |
|
|
|
<xsl:with-param name="baseLink"><xsl:value-of select="$baseLink"/></xsl:with-param> |
|
|
|
<xsl:call-template name="Messages_PageOuterTitle"/> |
|
|
|
<xsl:with-param name="postfix"> |
|
|
|
<xsl:text>: </xsl:text> |
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
<xsl:apply-templates select="pages/page" mode="withoutCurrent"> |
|
|
|
</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="postfix" select="$postfix"/> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:with-param name="selected"> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:value-of select="start"/> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
</xsl:when> |
|
|
|
<xsl:value-of select="start"/> |
|
|
|
<xsl:otherwise> |
|
|
|
</xsl:when> |
|
|
|
<xsl:text>-1</xsl:text> |
|
|
|
<xsl:otherwise> |
|
|
|
</xsl:otherwise> |
|
|
|
<xsl:text>-1</xsl:text> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:otherwise> |
|
|
|
</xsl:with-param> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:apply-templates> |
|
|
|
</xsl:with-param> |
|
|
|
<xsl:if test="total <= 1000"> |
|
|
|
</xsl:apply-templates> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
<xsl:if test="(total <= 1000) and isEmpty = 'false'"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
<xsl:choose> |
|
|
|
<a> |
|
|
|
<xsl:when test="unlimited='false'"> |
|
|
|
|
|
|
|
<a> |
|
|
|
|
|
|
|
<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> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
|
|
|
|
<a class="current">âñå</a> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:if test="next"> |
|
|
|
|
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
|
|
|
|
<a rel="next"> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
<xsl:attribute name="href"> |
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
<xsl:text>all</xsl:text> |
|
|
|
<xsl:value-of select="next"/> |
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
</xsl:attribute> |
|
|
|
</xsl:attribute> |
|
|
|
<xsl:text>âñå</xsl:text> |
|
|
|
<xsl:text>Ñëåäóþùàÿ ñòðàíèöà</xsl:text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</xsl:when> |
|
|
|
</xsl:if> |
|
|
|
<xsl:otherwise> |
|
|
|
</div> |
|
|
|
<a class="current">âñå</a> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:if test="next"> |
|
|
|
|
|
|
|
<xsl:text> | </xsl:text> |
|
|
|
|
|
|
|
<a rel="next"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"> |
|
|
|
|
|
|
|
<xsl:value-of select="$baseLink"/> |
|
|
|
|
|
|
|
<xsl:value-of select="next"/> |
|
|
|
|
|
|
|
<xsl:value-of select="$postfix"/> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<xsl:text>Ñëåäóþùàÿ ñòðàíèöà</xsl:text> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
</xsl:if> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
|
|