source:
products/qPloneComments/tags/1.6/skins/qplonecomments/ifModerate.py
@
1591
Last change on this file since 1591 was 1, checked in by myroslav, 19 years ago | |
---|---|
File size: 294 bytes |
Line | |
---|---|
1 | ## Script (Python) "ifModerate" |
2 | ##bind container=container |
3 | ##bind context=context |
4 | ##bind namespace= |
5 | ##bind script=script |
6 | ##bind subpath=traverse_subpath |
7 | ##parameters= |
8 | ##title= |
9 | ## |
10 | from Products.qPloneComments.utils import getProp |
11 | |
12 | return getProp(context, "Enable_Moderation", False) |
Note: See TracBrowser
for help on using the repository browser.