diff --git a/plone/app/discussion/browser/captcha.py b/plone/app/discussion/browser/captcha.py index ede8fc0..4c5da26 100644 --- a/plone/app/discussion/browser/captcha.py +++ b/plone/app/discussion/browser/captcha.py @@ -39,7 +39,7 @@ Captcha = factory(Captcha) class CaptchaExtender(extensible.FormExtender): """Extends the comment form with a Captcha. This Captcha extender is only - registered when a plugin is installed that provides the + registered when a plugin is installed that provides the "plone.app.discussion-captcha" feature. """ adapts(Interface, IDefaultBrowserLayer, CommentForm) # context, request, form @@ -72,4 +72,4 @@ class CaptchaExtender(extensible.FormExtender): self.form.fields['captcha'].widgetFactory = NorobotsFieldWidget else: self.form.fields['captcha'].mode = interfaces.HIDDEN_MODE - + diff --git a/plone/app/discussion/browser/captcha.zcml b/plone/app/discussion/browser/captcha.zcml index 7ff9e35..8c1f3d3 100644 --- a/plone/app/discussion/browser/captcha.zcml +++ b/plone/app/discussion/browser/captcha.zcml @@ -1,15 +1,15 @@ - @@ -21,11 +21,11 @@ - + /> - - \ No newline at end of file + + diff --git a/plone/app/discussion/browser/comment.py b/plone/app/discussion/browser/comment.py index 2adff65..03ca3a3 100644 --- a/plone/app/discussion/browser/comment.py +++ b/plone/app/discussion/browser/comment.py @@ -5,15 +5,15 @@ from Products.Five.browser import BrowserView class View(BrowserView): """Comment View. - When the view of a comment object is called directly, redirect to the + When the view of a comment object is called directly, redirect to the the page (content object) and the location (HTML-anchor) where the comment has been posted. - + Redirect from the comment object URL "/path/to/object/++conversation++default/123456789" to the content object - where the comment has been posted appended by an HTML anchor that points to + where the comment has been posted appended by an HTML anchor that points to the comment "/path/to/object#comment-123456789". - + Context is the comment object. The parent of the comment object is the conversation. The parent of the conversation is the content object where the comment has been posted. @@ -24,4 +24,4 @@ class View(BrowserView): self.request.response.redirect( aq_parent(aq_parent(context)).absolute_url() + '#' + str(context.id) - ) \ No newline at end of file + ) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index 76ff213..47980f3 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -58,7 +58,7 @@ tal:attributes="src portrait_url; alt reply/Creator" /> - +
Anonymous says: -
8/23/2001 12:40:44 PM
- +
- + - +
- +
- +