Ignore:
Timestamp:
05/16/13 18:37:30 (8 years ago)
Author:
ak19
Message:

If you add in the line 'format AllowUserComments true' into a collection's collect.cfg, you can now control whether the User Comments section appears on a document page or not. The runtime-src/src/recpt/documentaction.cpp defines an internal macro for the document package called allowusercomments and this is then checked for in macros/document.dm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/document.dm

    r27347 r27363  
    671671</div> <!-- document:footer -->
    672672
    673 
     673_If_("_document:allowusercomments_" eq "1",
    674674<center>
    675675<table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
     
    680680</div>
    681681</td></tr></table>
    682 </center>
     682</center>)
    683683
    684684<div class="navarrowsbottom">
Note: See TracChangeset for help on using the changeset viewer.