Changeset 3890


Ignore:
Timestamp:
2003-03-18T14:20:13+12:00 (21 years ago)
Author:
kjdon
Message:

modified the documentNode template to add &sib=1 if the doc node is a leaf node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/interfaces/default/transform/basicquery.xsl

    r3887 r3890  
    150150  <xsl:param name="collName">coll-name</xsl:param>
    151151  <xsl:variable name="library" select="ancestor::page/config/library_name"/>
    152 
     152   
    153153  <td>
    154     <a href="{$library}?a=d&amp;c={$collName}&amp;d={@nodeID}">
    155       <xsl:apply-templates select="." mode="displayNodeIcon"/>
    156     </a>
     154  <a><xsl:attribute name="href"><xsl:value-of select='$library'/>?a=d&amp;c=<xsl:value-of select='$collName'/>&amp;d=<xsl:value-of select='@nodeID'/><xsl:if test="@nodeType='leaf'">&amp;sib=1</xsl:if></xsl:attribute>
     155  <xsl:apply-templates select="." mode="displayNodeIcon"/>
     156  </a>
    157157  </td>
    158158  <td><xsl:value-of select="metadataList/metadata[@name='Title']"/></td>
Note: See TracChangeset for help on using the changeset viewer.