diff --git a/backend.php b/backend.php
index 810097a41..54bd1e069 100644
--- a/backend.php
+++ b/backend.php
@@ -10,6 +10,7 @@
require_once "magpierss/rss_fetch.inc";
$_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
+ $_SESSION["name"] = PLACEHOLDER_NAME;
$op = $_REQUEST["op"];
diff --git a/functions.php b/functions.php
index 42d00c060..8b6bc6620 100644
--- a/functions.php
+++ b/functions.php
@@ -5,6 +5,7 @@
require_once 'db-prefs.php';
$_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
+ $_SESSION["name"] = PLACEHOLDER_NAME;
define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
diff --git a/prefs.php b/prefs.php
index 72e15904d..ab76f38ff 100644
--- a/prefs.php
+++ b/prefs.php
@@ -6,6 +6,9 @@
require_once "db-prefs.php";
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
+
+ $_SESSION["uid"] = PLACEHOLDER_UID; // FIXME: placeholder
+ $_SESSION["name"] = PLACEHOLDER_NAME;
?>
@@ -40,12 +43,14 @@
if (get_pref($link, 'DISPLAY_HEADER')) { ?>
-
-
|
+
+ Hello, = $_SESSION["name"] ?> (Logout) |
-
-
-
|
} ?>