aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-05-30 19:24:53 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-05-30 19:24:53 +0000
commit6aa42b69abe798388aad4f7e6bf943dfb608e896 (patch)
tree0b5f6dc0ed309bf7a59cf32714d14bf848b7637d /phpBB/ucp.php
parentae93b82e19612c9ab99c11ca9641c1fca32588d4 (diff)
downloadforums-6aa42b69abe798388aad4f7e6bf943dfb608e896.tar
forums-6aa42b69abe798388aad4f7e6bf943dfb608e896.tar.gz
forums-6aa42b69abe798388aad4f7e6bf943dfb608e896.tar.bz2
forums-6aa42b69abe798388aad4f7e6bf943dfb608e896.tar.xz
forums-6aa42b69abe798388aad4f7e6bf943dfb608e896.zip
- forum rules + link to forum rules
- three new (tiny) functions added to functions_posting responsible for handling text with bbcode/smilies/urls, use them at items all over across phpbb... - some bugfixes within admin_forums and other files - new admin_board layout (much safer, security wise) git-svn-id: file:///svn/phpbb/trunk@4903 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 80d383e837..2b1e6e0a51 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -301,7 +301,12 @@ switch ($mode)
// Only registered users can go beyond this point
if ($user->data['user_id'] == ANONYMOUS || $user->data['user_type'] == USER_INACTIVE || $user->data['user_type'] == USER_IGNORE)
{
- redirect("index.$phpEx");
+ if ($user->data['user_id'] != ANONYMOUS)
+ {
+ redirect("index.$phpEx");
+ }
+
+ login_box($user->cur_page, '', $user->lang['LOGIN_EXPLAIN_UCP']);
}