mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX login BackURL wrong when using nested urls (fixes #5520, thanks ktauber) (from r103933)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112448 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6ff9223210
commit
b78bc13c8d
@ -7,7 +7,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %>,
|
<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 %>.
|
<% if PostingRequiresPermission %><% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
|
||||||
<a href="Security/login?BackURL={$Page.URLSegment}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
<a href="Security/login?BackURL={$Page.Link}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
||||||
</p>
|
</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user