56cd7fff8dcb594ddfcf02b4c596f02f85735d9a
1 ##parameters=memberIds=[], ajax=''
3 resp
= context
.REQUEST
.RESPONSE
4 portal_url
= context
.portal_url()
5 from ZTUtils
import make_query
as mq
9 msg
= 'Please select a member first.'
10 resp
.redirect(portal_url
+ '/portal_members?%s' % mq(portal_status_message
=msg
, ajax
=ajax
))
13 elif len(memberIds
) > 1 :
14 msg
= 'Warning: you should have selected only one member.'
16 return resp
.redirect(portal_url
+ '/portal_members?%s' % mq(member_id
=memberIds
[0],
17 portal_status_message
=msg
,
18 macroName
='member_properties_form',