1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

*** empty log message ***

git-svn-id: file:///svn/phpbb/trunk@59 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-02-25 04:02:12 +00:00
parent c965a3daf4
commit 35f60609f9
5 changed files with 35 additions and 6 deletions

View File

@@ -25,9 +25,19 @@
// Parse and show the overall header.
$template->set_file(array("overall_header" => "overall_header.tpl",
"overall_footer" => "overall_footer.tpl"));
if($user_logged_in)
{
$logged_in_status = "You are logged in as <b>".$userdata["username"]."</b>.";
}
else
{
$logged_in_status = "You are not logged in.";
}
$template->set_var(array("SITENAME" => $sitename,
"PHPEX" => $phpEx,
"PAGE_TITLE" => $page_title,
"LOGIN_STATUS" => $logged_in_status,
"META_INFO" => $meta_tags));
$template->pparse("output", "overall_header");