New visualization of agent view

This commit is contained in:
Arturo Gonzalez Diaz 2015-10-07 10:27:03 +02:00
parent 5d9a3a24d3
commit 37882026fd
1 changed files with 4 additions and 0 deletions

View File

@ -439,6 +439,10 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
$rows = db_get_all_rows_sql("SELECT *
FROM tmodule_group ORDER BY name");
$rows = io_safe_output($rows);
$rows_count = count($rows);
for ($i = 0; $i < $rows_count; $i++) {
$rows[$i]['name'] = ui_print_truncate_text($rows[$i]['name'], 35);
}
$rows_select = array();
if (!empty($rows)) {
$rows_select[-1] = __('All');