Ignore:
Timestamp:
2017-03-31T18:15:35+13:00 (7 years ago)
Author:
ak19
Message:

Adding the ability to turn on user comments from GLI. Off by default. Need to add usage instructions on wiki.

File:
1 edited

Legend:

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

    r31543 r31556  
    1010
    1111<xsl:template name="userCommentsSection">
    12 
     12 <xsl:if test="/page/pageResponse/format[@type='display']/gsf:option[@name='UserComments']/@value='true'">
    1313  <!-- 1. Make some variables available to javascript that the usercomments related js functions need -->
    1414  <gsf:variable name="d"><xsl:value-of select="/page/pageRequest/paramList/param[@name='d']/@value"/></gsf:variable>
     
    6868
    6969  </div>
    70 
     70 </xsl:if>
    7171</xsl:template>
    7272
Note: See TracChangeset for help on using the changeset viewer.