aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/docs/coding-guidelines.html
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-05-06 22:11:33 +0200
committerAndreas Fischer <bantu@phpbb.com>2013-05-06 22:11:33 +0200
commita97d9d4b899c424530e53d813c71eee192262e40 (patch)
treefa692d5bba3e49c60607b6a578aba5cd92649687 /phpBB/docs/coding-guidelines.html
parent01eded7cc2b206cce593a389f09259c25e5107ff (diff)
parent841f1e492204b67443f9595e2ecdb571e74aabe9 (diff)
downloadforums-a97d9d4b899c424530e53d813c71eee192262e40.tar
forums-a97d9d4b899c424530e53d813c71eee192262e40.tar.gz
forums-a97d9d4b899c424530e53d813c71eee192262e40.tar.bz2
forums-a97d9d4b899c424530e53d813c71eee192262e40.tar.xz
forums-a97d9d4b899c424530e53d813c71eee192262e40.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/11144] Add missing {FORUM_NAME} variable [ticket/11144] Add missing {FORUM_NAME} variable Conflicts: phpBB/download/file.php phpBB/styles/prosilver/template/login_forum.html
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
-rw-r--r--phpBB/docs/coding-guidelines.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index d2bafb6c92..e73c563d5b 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -1060,6 +1060,8 @@ $action_ary = request_var('action', array('' =&gt; 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>