Ignore:
Timestamp:
2017-03-31T18:33:30+13:00 (7 years ago)
Author:
ak19
Message:
  1. Modifying name of option to turn on usercomments feature to match GS2 name. 2. Correcting wrong default for this feature in java code vs correct one in model colConfigXML.
File:
1 edited

Legend:

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

    r31556 r31557  
    1010
    1111<xsl:template name="userCommentsSection">
    12  <xsl:if test="/page/pageResponse/format[@type='display']/gsf:option[@name='UserComments']/@value='true'">
     12 <xsl:if test="/page/pageResponse/format[@type='display']/gsf:option[@name='AllowUserComments']/@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>
Note: See TracChangeset for help on using the changeset viewer.