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
This commit is contained in:
Ingo Schommer 2010-06-18 04:24:00 +00:00 committed by Sam Minnee
parent 0fe83d2264
commit 5c84e5b0f1
1 changed files with 2 additions and 3 deletions

View File

@ -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 %>