## Script (Python) "mass_register" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind state=state ##bind subpath=traverse_subpath ##parameters=new_lect='',short_lect='' ##title=Register a user ## REQUEST=context.REQUEST from Products.CMFCore.utils import getToolByName tool = getToolByName(context, 'time_tool') tool.addNewLecture(new_lect,short_lect) return state.set( portal_status_message="ok" )