summaryrefslogtreecommitdiff
path: root/php/header.php
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-20 21:01:48 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-20 21:01:48 -0700
commit1b35cf3f1124b161ebde5e9e3a2c74c8ea2821d0 (patch)
tree5f1255ab93943e50685d712a6d49b7ca8e2b484b /php/header.php
parent81cabf40f9063f72f04df9b720d7f0e25a185741 (diff)
Add status and more
Diffstat (limited to 'php/header.php')
-rwxr-xr-xphp/header.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/header.php b/php/header.php
index 8648b2a..0fd46df 100755
--- a/php/header.php
+++ b/php/header.php
@@ -26,7 +26,8 @@ if ($username === null) {
$account = import(ROOT . '/html/guest.html');
} else {
$account = replace(ROOT . '/html/account.html', [
- '{{username}}' => htmlspecialchars($username, ENT_QUOTES, 'UTF-8')
+ '{{username}}' => htmlspecialchars($username, ENT_QUOTES, 'UTF-8'),
+ '{{profile}}' => rawurlencode($username)
]);
}