Changeset 29500


Ignore:
Timestamp:
2014-12-01T11:28:06+13:00 (9 years ago)
Author:
kjdon
Message:

encase whole toc output stuff in a test if toc option is set, otherwise still get bits and pieces of it, even if toc is set to off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl

    r29401 r29500  
    4444   
    4545    <xsl:template name="displayTOC">
     46      <xsl:if test="not(/page/pageResponse/format[@type='display']/gsf:option[@name='TOC']) or /page/pageResponse/format[@type='display']/gsf:option[@name='TOC']/@value='true'">
    4647        <div class="tableOfContentsContainer ui-state-default">
    4748            <table class="tocTable ui-widget-content">
     
    136137            </table>
    137138        </div>
     139      </xsl:if>
    138140    </xsl:template>
    139141   
Note: See TracChangeset for help on using the changeset viewer.