Changeset 8508


Ignore:
Timestamp:
2004-11-11T11:15:29+13:00 (19 years ago)
Author:
kjdon
Message:

don't show the expand/contract contents button if we have no toc

File:
1 edited

Legend:

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

    r8436 r8508  
    109109    <xsl:variable name="ec" select="/page/pageRequest/paramList/param[@name='ec']/@value"/>
    110110    <xsl:variable name="ed" select="/page/pageRequest/paramList/param[@name='ed']/@value"/>
     111   
    111112    <table>
    112113      <!-- expand document -->
     
    130131     
    131132      <!-- expand contents -->
    132       <xsl:if test="@docType = 'hierarchy'">
     133      <xsl:if test="@docType = 'hierarchy' and string(/page/pageResponse/format/gsf:option[@name='documentTOC']/@value) != 'false'">
    133134      <tr><td xsl:use-attribute-sets="td-brownbutton">
    134135      <xsl:choose><xsl:when test="string($ec)='1'">
Note: See TracChangeset for help on using the changeset viewer.