update table listing and add callbacks

This commit is contained in:
envoyr
2022-02-22 19:07:04 +01:00
parent 855e220d14
commit 8f7876b850
13 changed files with 189 additions and 192 deletions

View File

@@ -51,8 +51,7 @@ if ($page == 'domains' || $page == 'overview') {
}
UI::twigBuffer('user/table.html.twig', [
'collection' => $collection->getData(),
'table_options' => $domain_list_data['domain_list'],
'listing' => \Froxlor\UI\Listing::format($collection, $domain_list_data['domain_list']),
]);
UI::twigOutputBuffer();
} elseif ($action == 'delete' && $id != 0) {