1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 07:47:34 +02:00

[ticket/11144] Add missing {FORUM_NAME} variable

The template variable {FORUM_NAME} was missing from
the login page of a password protected forum

PHPBB3-11144
This commit is contained in:
Gaëtan Muller
2013-04-21 14:22:45 +02:00
parent 453f98f6d3
commit 828d3b6b68
7 changed files with 41 additions and 27 deletions

View File

@@ -3272,6 +3272,7 @@ function login_forum_box($forum_data)
page_header($user->lang['LOGIN'], false);
$template->assign_vars(array(
'FORUM_NAME' => isset($forum_data['forum_name']) ? $forum_data['forum_name'] : '',
'S_LOGIN_ACTION' => build_url(array('f')),
'S_HIDDEN_FIELDS' => build_hidden_fields(array('f' => $forum_data['forum_id'])))
);