名前の色

This commit is contained in:
2025-12-07 21:48:42 +09:00
parent 1ee2760c8e
commit f6389eedc9
2 changed files with 21 additions and 3 deletions

View File

@@ -59,7 +59,7 @@
{@ if (AUTH_ENABLED) @}
<div>
{@ if (isset($user) && isset($user->id) && $user->id > 0) @}
お帰りなしゃ~い、{{ $user->displayname ?? $user->username }}さん (<a href="/logout">ログアウト</a>)
お帰りなしゃ~い、{{{ namecolor($user) }}} (<a href="/logout">ログアウト</a>)
{@ else @}
<a href="/login">ログイン</a>
{@ if (AUTH_REGISTER_ENABLED) @}