diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-05-06 21:56:20 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-05-06 21:56:20 +0200 |
commit | 841f1e492204b67443f9595e2ecdb571e74aabe9 (patch) | |
tree | 86d6eed8f5f27aaf933a5bd5357c7463fdf4338e /phpBB/docs/coding-guidelines.html | |
parent | 92e0613324ac1ddff9c303aaed58eeecb0dfe6b2 (diff) | |
parent | eefcdfa54a80e4f62c88b6758b2e1d22740d1ddd (diff) | |
download | forums-841f1e492204b67443f9595e2ecdb571e74aabe9.tar forums-841f1e492204b67443f9595e2ecdb571e74aabe9.tar.gz forums-841f1e492204b67443f9595e2ecdb571e74aabe9.tar.bz2 forums-841f1e492204b67443f9595e2ecdb571e74aabe9.tar.xz forums-841f1e492204b67443f9595e2ecdb571e74aabe9.zip |
Merge remote-tracking branch 'MGaetan89/ticket/11144' into develop-olympus
* MGaetan89/ticket/11144:
[ticket/11144] Add missing {FORUM_NAME} variable
[ticket/11144] Add missing {FORUM_NAME} variable
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
-rw-r--r-- | phpBB/docs/coding-guidelines.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html index 54b8526cdf..dd0ee0a82f 100644 --- a/phpBB/docs/coding-guidelines.html +++ b/phpBB/docs/coding-guidelines.html @@ -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> |