Whitespace and comment added.

svn path=/plone.app.discussion/trunk/; revision=36787
This commit is contained in:
Timo Stollenwerk 2010-05-28 15:56:39 +00:00
parent a76e82ba8d
commit 5c323a5cf4

View File

@ -6,6 +6,7 @@ from zope.i18nmessageid import MessageFactory
_ = MessageFactory('plone.app.discussion') _ = MessageFactory('plone.app.discussion')
class IDiscussionSettings(Interface): class IDiscussionSettings(Interface):
"""Global discussion settings. This describes records stored in the """Global discussion settings. This describes records stored in the
configuration registry and obtainable via plone.registry. configuration registry and obtainable via plone.registry.
@ -192,6 +193,7 @@ class IConversation(IIterableMapping):
returned in depth-first order. returned in depth-first order.
""" """
class IReplies(IIterableMapping): class IReplies(IIterableMapping):
"""A set of related comments in reply to a given content object or """A set of related comments in reply to a given content object or
another comment. another comment.
@ -210,6 +212,7 @@ class IReplies(IIterableMapping):
"""Delete the comment with the given key. The key is a long id. """Delete the comment with the given key. The key is a long id.
""" """
class IComment(Interface): class IComment(Interface):
"""A comment. """A comment.
@ -245,10 +248,14 @@ class IComment(Interface):
creation_date = schema.Date(title=_(u"Creation date")) creation_date = schema.Date(title=_(u"Creation date"))
modification_date = schema.Date(title=_(u"Modification date")) modification_date = schema.Date(title=_(u"Modification date"))
class ICaptcha(Interface): class ICaptcha(Interface):
"""Captcha/ReCaptcha text field to extend the existing comment form.
"""
captcha = schema.TextLine(title=u"Captcha", captcha = schema.TextLine(title=u"Captcha",
required=False) required=False)
class ICommentingTool(Interface): class ICommentingTool(Interface):
"""A tool that indexes all comments for usage by the management interface. """A tool that indexes all comments for usage by the management interface.