mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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);
|
$agent = db_get_row ('tagente', 'id_agente', $id_agente);
|
||||||
ui_print_page_header ($agent["nombre"],
|
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 {
|
else {
|
||||||
// Create agent
|
// Create agent
|
||||||
|
@ -851,7 +851,7 @@ function networkmap_loadfile($id = 0, $file = '',
|
|||||||
case 'agent':
|
case 'agent':
|
||||||
$data['id_agent'] = $ids[$node_id]['id_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 = io_safe_output($text);
|
||||||
$text = ui_print_truncate_text($text,
|
$text = ui_print_truncate_text($text,
|
||||||
'agent_medium', false, true, false,
|
'agent_medium', false, true, false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user