[CMF-checkins] CVS: CMF - CMFWikiPage.py:1.4

Ken Manheimer klm@digicool.com
Fri, 25 May 2001 21:41:22 -0400 (EDT)


Update of /cvs-repository/Packages/Products/CMFWiki
In directory korak.digicool.com:/tmp/cvs-serv23828

Modified Files:
	CMFWikiPage.py 
Log Message:
Adjusted the factory_type_information entries for the page and folder
to track the shift to page-centric get_wiki_toc.  Also, added 'folder'
qualifier to the folder-oriented entries (recent changes,
get_page_toc), so they're put in the folder section of the actions
box.  (Apparently, that's what they're for.)



--- Updated File CMFWikiPage.py in package CMF --
--- CMFWikiPage.py	2001/05/26 00:54:01	1.3
+++ CMFWikiPage.py	2001/05/26 01:41:21	1.4
@@ -1749,10 +1749,12 @@
                   'permissions': (CMFWikiPermissions.View,)},
                  {'id': 'toc',
                   'name': 'Wiki Contents',
-                  'action':'page_get_wiki_toc',
+                  'category': 'folder',
+                  'action':'get_wiki_toc',
                   'permissions': (CMFWikiPermissions.View,)},
                  {'id': 'recent_changes',
                   'name': 'Recent Changes',
+                  'category': 'folder',
                   'action':'page_recent_wiki_changes',
                   'permissions': (CMFWikiPermissions.View,)},
                  ),
@@ -1768,7 +1770,7 @@
      'actions': ({'id': 'toc',
                   'name': 'Wiki Contents',
                   'category': 'folder',
-                  'action':'get_wiki_toc',
+                  'action':'folder_get_wiki_toc',
                   'permissions': (CMFWikiPermissions.View,)},
                  {'id': 'view',
                   'name': 'FrontPage',