#13034 fixed checkbox in head

This commit is contained in:
Daniel Cebrian 2024-03-14 16:45:02 +01:00
parent 5979d51d68
commit c9e515e121
1 changed files with 12 additions and 7 deletions

View File

@ -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] = '<span>'.__('Name').'</span>'.ui_get_sorting_arrows(
$url_name.'up',
$url_name.'down',