update ui class and traffic stats

This commit is contained in:
envoyr
2022-03-18 12:53:34 +01:00
parent ba0d33392c
commit 69895943bd
41 changed files with 90927 additions and 16754 deletions

View File

@@ -115,14 +115,13 @@ if ($page == 'overview') {
$upd_formfield['updates']['sections'] = $preconfig;
}
UI::twigBuffer('user/form-note.html.twig', [
UI::view('user/form-note.html.twig', [
'formaction' => $linker->getLink(array('section' => 'updates')),
'formdata' => $upd_formfield['updates'],
// alert
'type' => !empty($message) ? 'danger' : 'info',
'alert_msg' => $ui_text . $message
]);
UI::twigOutputBuffer();
}
} else {
\Froxlor\UI\Response::standard_success('noupdatesavail');