update api and ajax handling and response

This commit is contained in:
envoyr
2022-02-20 11:38:08 +01:00
parent d5e53cc7db
commit 424a00b39e
65 changed files with 881 additions and 2736 deletions

View File

@@ -103,12 +103,12 @@ if ($page == 'overview') {
$userinfo['total_bytes_used'] = 0;
}
UI::Twig()->addGlobal('userinfo', $userinfo);
UI::TwigBuffer('user/index.html.twig', [
UI::twig()->addGlobal('userinfo', $userinfo);
UI::twigBuffer('user/index.html.twig', [
'domains' => $domainArray,
'stdsubdomain' => $stdsubdomain
]);
UI::TwigOutputBuffer();
UI::twigOutputBuffer();
} elseif ($page == 'change_password') {