Last change
on this file since 1 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
File size:
514 bytes
|
Line | |
---|
1 | ## Controller Python Script "validate_smsCommunicator" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind state=state |
---|
7 | ##bind subpath=traverse_subpath |
---|
8 | ##parameters = server_url |
---|
9 | ##title= |
---|
10 | ## |
---|
11 | from Products.PloneSMSCommunicator.Utils import isUrl |
---|
12 | if isUrl(server_url): |
---|
13 | return state.set(status='success', portal_status_message='PloneSMSCommunicator properties was updated') |
---|
14 | else: |
---|
15 | return state.set(status='failure', portal_status_message='Server address is incorrect') |
---|
Note: See
TracBrowser
for help on using the repository browser.