|
|
@@ -46,11 +46,13 @@ class Route_ViewTableAjax extends RouteBase {
|
|
|
$tblLabel = implode(" - ", $tblLabel);
|
|
|
}
|
|
|
$tbl->setSyncUrl($syncUrl);
|
|
|
- $tbl->showProcesInitFiltr = $this->getLink("procesInitFiltrAjax", [ 'namespace' => $acl->getNamespace() ]);
|
|
|
+ $tbl->showProcesInitFiltr = (Config::get('VIEW_TABLE_HIDE_PROCESS_LIST')) ? null : $this->getLink("procesInitFiltrAjax", [ 'namespace' => $acl->getNamespace() ]);
|
|
|
$tbl->showTableTools = $this->getLink("tableToolsAjax", [ 'namespace' => $acl->getNamespace() ]);
|
|
|
$tbl->useUserTableFilter = $this->getLink("getUserTableFilterAjax");
|
|
|
$tbl->setLabel($tblLabel);
|
|
|
- if (method_exists($acl, 'getGuiRowFunctions')) {
|
|
|
+ if (Config::get('VIEW_TABLE_HIDE_BASE_ROW_FUNCTIONS')) {
|
|
|
+ // dont show row functions column
|
|
|
+ } else if (method_exists($acl, 'getGuiRowFunctions')) {
|
|
|
foreach ($acl->getGuiRowFunctions() as $funKey => $funParams) {
|
|
|
$tbl->addRowFunction($funKey, $funParams);
|
|
|
}
|