[CMF-checkins] CVS: CMF/CMFWiki/skins/zpt_wiki - wikipage_comment_form.pt:1.3

Ken Manheimer klm@zope.com
Thu, 8 Nov 2001 16:01:44 -0500


Update of /cvs-repository/CMF/CMFWiki/skins/zpt_wiki
In directory cvs.zope.org:/tmp/cvs-serv22257

Modified Files:
	wikipage_comment_form.pt 
Log Message:
whichWho *does* the opCategory() call, internally, so passing it the
result of the call breaks.


=== CMF/CMFWiki/skins/zpt_wiki/wikipage_comment_form.pt 1.2 => 1.3 ===
 <div
   tal:define="commentator python:here.isAllowed('comment', REQUEST=request);
-              editor python:here.isAllowed('edit', REQUEST=request);
-              commentcat python:here.opCategory('comment')">
+              editor python:here.isAllowed('edit', REQUEST=request)">
 
  <h3> Submit a Comment for <em tal:content="here/getId">page</em> </h3>
 
  <p tal:condition="python:not commentator">
    <strong> You are not allowed to comment on <span tal:replace="here/getId">
     this page</span>. </strong>
-   (<span tal:replace="python:here.whichWho( commentcat )" /> may add
+   (<span tal:replace="python:here.whichWho('comment')" /> may add
    a comment to this page.)
  </p>