Changeset 14391 for greenstone3/trunk/web/interfaces
- Timestamp:
- 2007-08-31T11:09:41+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/interfaces/classic/transform/document.xsl
r14379 r14391 67 67 </xsl:call-template> 68 68 69 <xsl:call-template name="documentArrows"> 70 <xsl:with-param name="collName" select="$collName"/> 71 </xsl:call-template> 69 72 <xsl:call-template name="documentContent"> 70 73 <xsl:with-param name="collName" select="$collName"/> 71 74 </xsl:call-template> 72 </xsl:template> 75 <xsl:call-template name="documentArrows"> 76 <xsl:with-param name="collName" select="$collName"/> 77 </xsl:call-template> 78 <br/> 79 </xsl:template> 80 81 <xsl:template name="documentArrows"> 82 <xsl:param name="collName"/> 83 <div class="documentarrows"> 84 <xsl:call-template name="documentArrow"> 85 <xsl:with-param name="collName" select="$collName"/> 86 <xsl:with-param name="direction">back</xsl:with-param> 87 </xsl:call-template> 88 <xsl:call-template name="documentArrow"> 89 <xsl:with-param name="collName" select="$collName"/> 90 <xsl:with-param name="direction">forward</xsl:with-param> 91 </xsl:call-template> 92 </div> 93 </xsl:template> 94 95 <xsl:template name="documentArrow"> 96 <xsl:param name="collName"/> 97 <xsl:param name="direction"/> 98 <xsl:variable name="request-params" select="/page/pageRequest/paramList"/> 99 <xsl:if test='$request-params/param[@name="dt"]/@value != "simple"'> 100 <a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=d&c=<xsl:value-of select="$collName"/>&d=<xsl:value-of select="@selectedNode"/><xsl:choose><xsl:when test="$direction='back'">.pp</xsl:when><xsl:otherwise>.np</xsl:otherwise></xsl:choose>&sib=1&p.s=<xsl:value-of select='$request-params/param[@name="p.s"]/@value'/>&p.sa=<xsl:value-of select='$request-params/param[@name="p.sa"]/@value'/>&p.a=<xsl:value-of select='$request-params/param[@name="p.a"]/@value'/></xsl:attribute><xsl:choose><xsl:when test="$direction='back'"><img class="lessarrow" src="interfaces/default/images/less.gif" /></xsl:when><xsl:otherwise><img class="morearrow" src="interfaces/default/images/more.gif" /></xsl:otherwise></xsl:choose></a> 101 </xsl:if> 102 </xsl:template> 103 73 104 74 105 <xsl:template name="documentHeading">
Note:
See TracChangeset
for help on using the changeset viewer.