mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking - added missing config variables - other minor things git-svn-id: file:///svn/phpbb/trunk@5494 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -76,7 +76,7 @@ switch ($mode)
|
||||
}
|
||||
|
||||
login_box("index.$phpEx$SID");
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'logout':
|
||||
if ($user->data['user_id'] != ANONYMOUS)
|
||||
@@ -89,11 +89,11 @@ switch ($mode)
|
||||
|
||||
$message = $user->lang['LOGOUT_REDIRECT'] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . "{$phpbb_root_path}index.$phpEx$SID" . '">', '</a> ');
|
||||
trigger_error($message);
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'terms_of_use':
|
||||
case 'privacy_statement':
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'delete_cookies':
|
||||
// Delete Cookies with dynamic names (do NOT delete poll cookies)
|
||||
@@ -127,7 +127,7 @@ switch ($mode)
|
||||
confirm_box(false, 'DELETE_COOKIES', '');
|
||||
}
|
||||
redirect("index.$phpEx$SID");
|
||||
break;
|
||||
break;
|
||||
}
|
||||
|
||||
// Only registered users can go beyond this point
|
||||
|
Reference in New Issue
Block a user