Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Removed trailing slash in BackURL, fixed error message sentence…

… structure in PageCommentInterface.ss (fixes #5520) (from r106694)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112582 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit fa417589d89b59b0141937e7e2d8cb8cf6d9628a 1 parent 1a80b91
@chillu chillu authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 templates/PageCommentInterface.ss
View
5 templates/PageCommentInterface.ss
@@ -5,9 +5,8 @@
<% if CanPostComment %>
$PostCommentForm
<% else %>
- <p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %>,
- <% if PostingRequiresPermission %><% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
- <a href="Security/login?BackURL={$Page.Link}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
+ <p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %><% if PostingRequiresPermission %>,<% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
+ <a href="Security/login?BackURL={$Page.Link}" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
</p>
<% end_if %>
<% else %>
Please sign in to comment.
Something went wrong with that request. Please try again.