HEL-327: apply frost-obsidian day/night theme across the live PHP UI.
Replace the old teal top-nav shell with the fusion sidebar layout, token CSS, and HEL-325 logos without changing business rules, APIs, or calculator formulas. Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
co-authored by
Cursor
multica-agent
parent
472cf7942e
commit
a05075735d
+8
-1
@@ -37,7 +37,14 @@ function requireAdmin(): void
|
||||
requireLogin();
|
||||
if (!isAdmin()) {
|
||||
http_response_code(403);
|
||||
echo 'Forbidden';
|
||||
$me = currentUser();
|
||||
if ($me && function_exists('pageHeader') && function_exists('fusionRestrictedCard')) {
|
||||
pageHeader($me);
|
||||
fusionRestrictedCard();
|
||||
pageFooter();
|
||||
} else {
|
||||
echo '需要管理员权限';
|
||||
}
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user