Changeset 2013 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 12 Jul 2007, 16:12:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/folder_delete.py
r1366 r2013 13 13 """ 14 14 15 import logging 16 logger = logging.getLogger('Skins.folder_delete') 17 member_id = str(context.portal_membership.getAuthenticatedMember()) 18 15 19 from Products.CMFCore.utils import getToolByName 16 20 here = context 17 if context.portal_type == "University": 18 here = context.academics 21 22 #if context.portal_type == "University": 23 # here = context.academics 19 24 20 25 ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type) 21 26 meth_id = ti.queryMethodID('view', 'folder_contents') 22 27 ret_url = here.absolute_url() + '/' + meth_id 28 23 29 24 30
Note: See TracChangeset for help on using the changeset viewer.