- Timestamp:
- 9 Mar 2008, 12:21:06 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/folder_delete.py
r3008 r3291 36 36 evtool = getPublicEventService(here) 37 37 evtool.notifyEvent('workflow_delete', ob, {}) 38 logger.info('%s deleted object %s' % (member_id,id)) 38 39 here.manage_delObjects(ids) 39 40 message = 'portal_status_message=psm_item(s)_deleted' -
WAeUP_SRP/base/skins/waeup_upload/uploads_form.pt
r3285 r3291 35 35 <th>Date</th> 36 36 <th>Message</th> 37 <th> Conform Headline</th>37 <th>Unknown Fields</th> 38 38 </tr> 39 39 <tr tal:repeat="row rows" -
WAeUP_SRP/base/skins/waeup_upload/uploads_index.py
r3285 r3291 13 13 """ 14 14 import DateTime 15 import logging 16 logger = logging.getLogger('Skins.upload_index') 17 18 15 19 try: 16 20 from Products.zdb import set_trace … … 39 43 short_id = long_id.replace('.csv','') 40 44 doc = getattr(context, long_id).getContent() 45 logger.info('%s edited object %s' % (member,long_id)) 41 46 doc.edit(mapping = request.form[short_id]) 42 47 msg, invalid_keys = doc['checkKeys']() … … 50 55 if new_keys: 51 56 doc.editHeadline(new_keys) 57 for key in new_keys: 58 logger.info('%s changed column heading in file %s from %s to %s' % (member,long_id,key[0],key[1])) 52 59 request.RESPONSE.redirect(context.absolute_url()) 53 60 … … 109 116 d['url'] = upload.absolute_url() 110 117 upload.getContent().edit(mapping=d) 118 logger.info('%s uploaded file %s' % (member,filename)) 111 119 112 120 request.RESPONSE.redirect(context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.