Ignore:
Timestamp:
2016-12-15T10:16:26+13:00 (6 years ago)
Author:
kjdon
Message:

added option disableSearchTermHighlighting=true so the user can switch this behaviour off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r31049 r31238  
    495495    <xsl:template name="displayAnnotation">
    496496        <xsl:choose>
    497             <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'off'">
     497            <xsl:when test="/page/pageRequest/paramList/param[@name = 'hl']/@value = 'off' or /page/pageResponse/format[@type='display']/gsf:option[@name='disableSearchTermHighlighting']/@value='true')">
    498498                <span class="noTermHighlight"><xsl:value-of select="."/></span>
    499499            </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.