Permalink
Browse files

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

… structure in PageCommentInterface.ss (fixes #5520)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@106694 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 0fe83d2 commit 5c84e5b0f13e4449e89a852b8a43deed1a041f1f @chillu chillu committed with sminnee Jun 18, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 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 %>

0 comments on commit 5c84e5b

Please sign in to comment.