added a few more entities to globalsearch (admin-side)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-20 09:53:30 +01:00
parent 860306b855
commit 59682ba620
9 changed files with 331 additions and 165 deletions

View File

@@ -42,10 +42,10 @@ if ($page == 'overview') {
UI::view('user/table.html.twig', [
'listing' => \Froxlor\UI\Listing::format($collection, $phpconf_list_data['phpconf_list']),
'actions_links' => [[
'actions_links' => (bool)$userinfo['change_serversettings'] ? [[
'href' => $linker->getLink(['section' => 'phpsettings', 'page' => $page, 'action' => 'add']),
'label' => $lng['admin']['phpsettings']['addnew']
]]
]] : []
]);
}
@@ -186,10 +186,10 @@ if ($page == 'overview') {
UI::view('user/table.html.twig', [
'listing' => \Froxlor\UI\Listing::format($collection, $fpmconf_list_data['fpmconf_list']),
'actions_links' => [[
'actions_links' => (bool)$userinfo['change_serversettings'] ? [[
'href' => $linker->getLink(['section' => 'phpsettings', 'page' => $page, 'action' => 'add']),
'label' => $lng['admin']['fpmsettings']['addnew']
]]
]] : []
]);
}