1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-29 21:10:31 +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

@@ -956,6 +956,8 @@ $action_ary = request_var('action', array('' => 0));
<h4>Login checks/redirection: </h4>
<p>To show a forum login box use <code>login_forum_box($forum_data)</code>, else use the <code>login_box()</code> function.</p>
<p><code>$forum_data</code> should contain at least the <code>forum_id</code> and <code>forum_password</code> fields. If the field <code>forum_name</code> is available, then it is displayed on the forum login page.</p>
<p>The <code>login_box()</code> function can have a redirect as the first parameter. As a thumb of rule, specify an empty string if you want to redirect to the users current location, else do not add the <code>$SID</code> to the redirect string (for example within the ucp/login we redirect to the board index because else the user would be redirected to the login screen).</p>
<h4>Sensitive Operations: </h4>