aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/page_header.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-25 04:02:12 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-25 04:02:12 +0000
commit35f60609f92e7503ff7b7a2959586335650f345b (patch)
treeef4cfe256053736990158d625c16aa154e36b3a9 /phpBB/page_header.php
parentc965a3daf4eef4f8ebd7342d85bd012e08065e3e (diff)
downloadforums-35f60609f92e7503ff7b7a2959586335650f345b.tar
forums-35f60609f92e7503ff7b7a2959586335650f345b.tar.gz
forums-35f60609f92e7503ff7b7a2959586335650f345b.tar.bz2
forums-35f60609f92e7503ff7b7a2959586335650f345b.tar.xz
forums-35f60609f92e7503ff7b7a2959586335650f345b.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@59 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/page_header.php')
-rw-r--r--phpBB/page_header.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/page_header.php b/phpBB/page_header.php
index b259220977..e1b0dc19a0 100644
--- a/phpBB/page_header.php
+++ b/phpBB/page_header.php
@@ -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");