|
Last change
on this file since 103 was
1,
checked in by myroslav, 21 years ago
|
|
Building directory structure
|
|
File size:
550 bytes
|
| Line | |
|---|
| 1 | ##Python Script "getPGNewsletterSubscribers" |
|---|
| 2 | ##bind container=container |
|---|
| 3 | ##bind context=context |
|---|
| 4 | ##bind namespace= |
|---|
| 5 | ##bind script=script |
|---|
| 6 | ##bind subpath=traverse_subpath |
|---|
| 7 | ##parameters=newsletter_name=None |
|---|
| 8 | ##title= |
|---|
| 9 | ## |
|---|
| 10 | members = context |
|---|
| 11 | |
|---|
| 12 | if hasattr(members, 'queryCatalog'): |
|---|
| 13 | return [ |
|---|
| 14 | ( |
|---|
| 15 | getattr(member, 'getEmail', ''), |
|---|
| 16 | 'HTML', |
|---|
| 17 | "%s/portal_memberdata/%s/base_edit" % (context.portal_url(), getattr(member, 'id', '')), |
|---|
| 18 | ) |
|---|
| 19 | for member in members.queryCatalog()] |
|---|
| 20 | else: |
|---|
| 21 | raise "qTopic not found" |
|---|
Note: See
TracBrowser
for help on using the repository browser.