source: products/qTrackSpam/trunk/skins/qtrackspam/prefs_importBlackList.cpy @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 344 bytes
Line 
1##bind container=container
2##bind context=context
3##bind namespace=
4##bind script=script
5##bind subpath=traverse_subpath
6##parameters=body,file
7##title=
8##
9
10data=""
11if file:
12    file.seek(0)
13    data = file.read()
14context.portal_trackspam.setBlackList(body + data)
15return state.set(status = 'success', portal_status_mesage='BLackList updated')
Note: See TracBrowser for help on using the repository browser.