Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
66fe517e
Commit
66fe517e
authored
Sep 05, 2006
by
Neil Drumm
Browse files
#40751
by chx. Redirect back to the forum when logging in from there.
parent
9f8617b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
66fe517e
...
...
@@ -921,7 +921,7 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p
$output
.
=
'<li>'
.
t
(
'You are not allowed to post a new forum topic.'
)
.
'</li>'
;
}
else
{
$output
.
=
'<li>'
.
t
(
'<a href="@login">Login</a> to post a new forum topic.'
,
array
(
'@login'
=>
url
(
'user/login'
)))
.
'</li>'
;
$output
.
=
'<li>'
.
t
(
'<a href="@login">Login</a> to post a new forum topic.'
,
array
(
'@login'
=>
url
(
'user/login'
,
drupal_get_destination
()
)))
.
'</li>'
;
}
$output
.
=
'</ul>'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment