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

Ken Manheimer klm@zope.com
Thu, 8 Nov 2001 15:56:13 -0500


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

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

(This bug would only show when someone wasn't permitted to do an op,
and normally people wouldn't get to that point because the CMF actions
box only presents valid options.  However, another problem is mucking
up isAllowed(), so i get to trip over this...-)


=== CMF/CMFWiki/skins/zpt_wiki/wikipage_edit_form.pt 1.2 => 1.3 ===
     <p tal:condition="python: not editor">
       <strong> You can view the page source, below, but not edit it. </strong>
-      (<span tal:replace="python: here.whichWho( opCategory( 'edit' ) )" />
+      (<span tal:replace="python: here.whichWho('edit')" />
        edit this page.)
     </p>