Changeset 1906 for WAeUP_SRP/trunk/skins/waeup_directory
- Timestamp:
- 16 Jun 2007, 13:22:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_directory/getMembersDirectoryActions.py
r1901 r1906 15 15 request = context.REQUEST 16 16 qstring = request.get('QUERY_STRING','') 17 id = '' 18 for par in qstring.split('&'): 19 if par.startswith('id='): 20 id = par[3:] 17 if qstring: 18 id = '' 19 for par in qstring.split('&'): 20 if par.startswith('id='): 21 id = par[3:] 22 else: 23 id = request.form.get('id','') 21 24 utool = getToolByName(context, 'portal_url') 22 25 dtool = getToolByName(context, 'portal_directories') … … 25 28 dirname = 'members' 26 29 dir = getattr(dtool,'members') 27 28 30 actions_list = (('create_action', 29 31 'new_entry',
Note: See TracChangeset for help on using the changeset viewer.