mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 14:58:52 +00:00
[ticket/16042] Adjust positioning and add comment to overwrite
PHPBB3-16042
This commit is contained in:
parent
3c822556c1
commit
4b6bdbe558
1 changed files with 2 additions and 1 deletions
|
@ -4439,15 +4439,16 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||||
$controller_helper = $phpbb_container->get('controller.helper');
|
$controller_helper = $phpbb_container->get('controller.helper');
|
||||||
$notification_mark_hash = generate_link_hash('mark_all_notifications_read');
|
$notification_mark_hash = generate_link_hash('mark_all_notifications_read');
|
||||||
|
|
||||||
|
$s_login_redirect = build_hidden_fields(array('redirect' => $phpbb_path_helper->remove_web_root_path(build_url())));
|
||||||
/**
|
/**
|
||||||
* Workaround for missing template variable in pre phpBB 3.2.6 styles.
|
* Workaround for missing template variable in pre phpBB 3.2.6 styles.
|
||||||
* @deprecated 3.2.7 (To be removed: 3.3.0-a1)
|
* @deprecated 3.2.7 (To be removed: 3.3.0-a1)
|
||||||
*/
|
*/
|
||||||
$form_token_login = $template->retrieve_var('S_FORM_TOKEN_LOGIN');
|
$form_token_login = $template->retrieve_var('S_FORM_TOKEN_LOGIN');
|
||||||
$s_login_redirect = build_hidden_fields(array('redirect' => $phpbb_path_helper->remove_web_root_path(build_url())));
|
|
||||||
if (!empty($form_token_login))
|
if (!empty($form_token_login))
|
||||||
{
|
{
|
||||||
$s_login_redirect .= $form_token_login;
|
$s_login_redirect .= $form_token_login;
|
||||||
|
// Remove S_FORM_TOKEN_LOGIN as it's already appended to S_LOGIN_REDIRECT
|
||||||
$template->assign_var('S_FORM_TOKEN_LOGIN', '');
|
$template->assign_var('S_FORM_TOKEN_LOGIN', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue