Changeset 681 for WAeUP_SRP/trunk/skins/waeup_default/id_rename.py
- Timestamp:
- 13 Oct 2006, 06:43:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_default/id_rename.py
r586 r681 11 11 if context.portal_type in ('CoursesFolder',): 12 12 return REQUEST.RESPONSE.redirect(context.absolute_url() + \ 13 ('/academics_ contents?portal_status_message=%s' \13 ('/academics_index?portal_status_message=%s' \ 14 14 % ('Courses cannot be renamed',))) 15 15 16 16 new_ids = REQUEST['new_ids'] 17 17 new_ids = [id.upper() for id in REQUEST['new_ids']] … … 20 20 if context.portal_type == "University": 21 21 here = context.academics 22 23 22 24 here.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST) 23 24 here.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST) 25 25 26 26 return REQUEST.RESPONSE.redirect(here.absolute_url() + \
Note: See TracChangeset for help on using the changeset viewer.