From c9e515e121dc4f6bc275eaa53da74f82a3f8f7b1 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Thu, 14 Mar 2024 16:45:02 +0100 Subject: [PATCH] #13034 fixed checkbox in head --- .../godmode/agentes/module_manager.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pandora_console/godmode/agentes/module_manager.php b/pandora_console/godmode/agentes/module_manager.php index 901a340913..be1b620800 100644 --- a/pandora_console/godmode/agentes/module_manager.php +++ b/pandora_console/godmode/agentes/module_manager.php @@ -662,13 +662,18 @@ if ($modules !== false) { $table->width = '100%'; $table->class = 'tactical_table info_table'; $table->head = []; - $table->head['checkbox'] = html_print_checkbox( - 'all_delete', - 0, - false, - true, - false - ); + if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW') === true) { + $table->head['checkbox'] = html_print_checkbox( + 'all_delete', + 0, + false, + true, + false + ); + } else { + $table->head['checkbox'] = ''; + } + $table->head[0] = ''.__('Name').''.ui_get_sorting_arrows( $url_name.'up', $url_name.'down',