mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Changes related to session code updates
git-svn-id: file:///svn/phpbb/trunk@122 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -28,9 +28,10 @@ DEFINE(HEADER_INC, TRUE);
|
||||
$template->set_filenames(array("overall_header" => "overall_header.tpl",
|
||||
"overall_footer" => "overall_footer.tpl"));
|
||||
|
||||
if($user_logged_in)
|
||||
if($userdata['session_logged_in'])
|
||||
{
|
||||
$logged_in_status = "You are logged in as <b>".$userdata["username"]."</b>.";
|
||||
$logged_in_status .= " [<A HREF=\"login.php?submit=logout\">Logout</A>]";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user