revert change

This commit is contained in:
Daniel Cebrian 2024-03-15 09:10:27 +01:00
parent 58919847cb
commit eedf15d4e0
1 changed files with 14 additions and 18 deletions

View File

@ -262,24 +262,20 @@ class AgentsAlerts extends HTML
$data[0] = io_safe_output($agent_module['alias']); $data[0] = io_safe_output($agent_module['alias']);
$data[1] = io_safe_output($agent_module['nombre']); $data[1] = io_safe_output($agent_module['nombre']);
$uniqid = $agent_module['id_agente_modulo']; $uniqid = $agent_module['id_agente_modulo'];
if (check_acl($this->idUser, 0, 'LM')) { $data[2] = html_print_anchor(
$data[2] = html_print_anchor( [
[ 'href' => sprintf(
'href' => sprintf( 'javascript:show_add_alerts(\'%s\')',
'javascript:show_add_alerts(\'%s\')', $uniqid
$uniqid ),
), 'content' => html_print_image(
'content' => html_print_image( 'images/add_mc.png',
'images/add_mc.png', true,
true, ['class' => 'main_menu_icon invert_filter']
['class' => 'main_menu_icon invert_filter'] ),
), ],
], true
true );
);
} else {
$data[2] = '';
}
array_push($table->data, $data); array_push($table->data, $data);