Relative links in pageouter

main
Inga 🏳‍🌈 14 years ago
parent f5b3bee565
commit b66130401a
  1. 4
      templates/Full/elems/Main.xslt
  2. 4
      templates/Lite/BoardAsThread.xslt
  3. 4
      templates/Lite/Thread.xslt
  4. 4
      templates/Lite/elems/Main.xslt

@ -231,9 +231,7 @@
</xsl:template>
<xsl:template match="pageOuter" mode="withCurrent">
<xsl:param name="baseLink">
<xsl:value-of select="/root/currentBaseUrl"/>
</xsl:param>
<xsl:param name="baseLink"/>
<xsl:variable name="postfix">
<xsl:if test="isReversed='true'">-reversed</xsl:if>
</xsl:variable>

@ -97,9 +97,7 @@
</div>
<xsl:apply-templates select="posts/post"/>
<div class="tdheader">
<xsl:apply-templates select="posts/pageOuter" mode="footer">
<xsl:with-param name="baseLink">/BoardAsThread/<xsl:value-of select="currentLocation/board/id"/>/</xsl:with-param>
</xsl:apply-templates>
<xsl:apply-templates select="posts/pageOuter" mode="footer"/>
</div>
</xsl:template>

@ -15,9 +15,7 @@
<xsl:with-param name="isReplyDisabled"><xsl:value-of select="thread/isLocked"/></xsl:with-param>
</xsl:apply-templates>
<div class="tdheader">
<xsl:apply-templates select="posts/pageOuter" mode="footer">
<xsl:with-param name="baseLink">/Thread/<xsl:value-of select="currentLocation/thread/id"/>/</xsl:with-param>
</xsl:apply-templates>
<xsl:apply-templates select="posts/pageOuter" mode="footer"/>
</div>
</xsl:template>

@ -156,9 +156,7 @@
</xsl:template>
<xsl:template match="pageOuter" mode="withCurrent">
<xsl:param name="baseLink">
<xsl:value-of select="/root/currentBaseUrl"/>
</xsl:param>
<xsl:param name="baseLink"/>
<xsl:variable name="postfix">
<xsl:if test="isReversed='true'">-reversed</xsl:if>
</xsl:variable>

Loading…
Cancel
Save