mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Changed the agent name by its alias
This commit is contained in:
parent
3715b9da5d
commit
354377a56a
@ -559,7 +559,7 @@ if ($id_agente) {
|
||||
}
|
||||
$agent = db_get_row ('tagente', 'id_agente', $id_agente);
|
||||
ui_print_page_header ($agent["nombre"],
|
||||
"images/setup.png", false, $help_header , true, $onheader,$agent["alias"] . ' ' . $tab_description);
|
||||
"images/setup.png", false, $help_header , true, $onheader, false, '', GENERIC_SIZE_TEXT, $agent["alias"] . ' ' . $tab_description);
|
||||
}
|
||||
else {
|
||||
// Create agent
|
||||
|
@ -851,7 +851,7 @@ function networkmap_loadfile($id = 0, $file = '',
|
||||
case 'agent':
|
||||
$data['id_agent'] = $ids[$node_id]['id_agent'];
|
||||
|
||||
$text = agents_get_name($ids[$node_id]['id_agent']);
|
||||
$text = agents_get_alias($ids[$node_id]['id_agent']);
|
||||
$text = io_safe_output($text);
|
||||
$text = ui_print_truncate_text($text,
|
||||
'agent_medium', false, true, false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user