Changeset 758 in products
- Timestamp:
- Jan 16, 2007 5:42:51 PM (17 years ago)
- Location:
- qPloneDropDownMenu/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneDropDownMenu/trunk/DropDownMenuTool.py
r59 r758 5 5 from Products.CMFCore.utils import UniqueObject, getToolByName 6 6 7 from Products.qPloneDropDownMenu.Extensions.Installimport updateMenu8 from config import VIEW_PERMISSION, PROJECT_NAME, UNIQUE_ID7 from utils import updateMenu 8 from config import MANAGE_PERMISSION, PROJECT_NAME, UNIQUE_ID 9 9 10 10 … … 17 17 security = ClassSecurityInfo() 18 18 19 security.declareProtected( VIEW_PERMISSION, 'regenerateMenu')19 security.declareProtected(MANAGE_PERMISSION, 'regenerateMenu') 20 20 def regenerateMenu(self): 21 updateMenu(self) 21 portal = getToolByName(self, 'portal_url').getPortalObject() 22 updateMenu(portal) 22 23 23 24 InitializeClass(DropDownMenuTool) -
qPloneDropDownMenu/trunk/README.txt
r59 r758 7 7 "Download":http://sourceforge.net/projects/quintagroup 8 8 9 (c) "Quintagroup":http://quintagroup.com/ , 200 5.9 (c) "Quintagroup":http://quintagroup.com/ , 2008. 10 10 11 11 support@quintagroup.com * quintessence of modern business … … 13 13 Requires 14 14 15 Plone 2.0+ 16 CMF 1.4.7+ 17 Zope 2.7+ 15 Plone 3.0+ 18 16 19 17 Install … … 79 77 Authors 80 78 81 * Myroslav Opyr82 83 79 * Vitaliy Podoba
Note: See TracChangeset
for help on using the changeset viewer.