[ticket/15616] Add jumpbox to login_forum.html

PHPBB3-15616
This commit is contained in:
Jakub Senko 2018-09-25 16:18:58 +02:00
parent 001f32da95
commit f82e0a83d1
No known key found for this signature in database
GPG key ID: 6A7C328CD66EC21E

View file

@ -2539,7 +2539,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa
*/ */
function login_forum_box($forum_data) function login_forum_box($forum_data)
{ {
global $db, $phpbb_container, $request, $template, $user, $phpbb_dispatcher; global $db, $phpbb_container, $request, $template, $user, $phpbb_dispatcher, $phpbb_root_path, $phpEx;
$password = $request->variable('password', '', true); $password = $request->variable('password', '', true);
@ -2624,6 +2624,8 @@ function login_forum_box($forum_data)
'body' => 'login_forum.html') 'body' => 'login_forum.html')
); );
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"), $forum_data['forum_id']);
page_footer(); page_footer();
} }