diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php
index 46ead7da19..eaf65771fd 100644
--- a/pandora_console/godmode/agentes/configurar_agente.php
+++ b/pandora_console/godmode/agentes/configurar_agente.php
@@ -708,7 +708,13 @@ if ($id_agente) {
'',
$config['item_title_size_text'],
'',
- __('Resources').ui_print_breadcrums($tab_name)
+ ui_print_breadcrums(
+ [
+ __('Resources'),
+ __('Manage agents'),
+ ''.$tab_name.'',
+ ]
+ )
);
} else {
// Create agent.
@@ -723,7 +729,13 @@ if ($id_agente) {
'',
GENERIC_SIZE_TEXT,
'',
- __('Resources').ui_print_breadcrums('Create agent')
+ ui_print_breadcrums(
+ [
+ __('Resources'),
+ __('Manage agents'),
+ ''.__('Create agent').'',
+ ]
+ )
);
}
diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php
index 1193d84c51..2bbcf544c7 100755
--- a/pandora_console/include/functions_ui.php
+++ b/pandora_console/include/functions_ui.php
@@ -5020,10 +5020,12 @@ function ui_get_sorting_arrows($url_up, $url_down, $selectUp, $selectDown)
*/
function ui_print_breadcrums($tab_name)
{
- if ($tab_name != '') {
+ if (is_array($tab_name)) {
+ return join(' / ', $tab_name);
+ } else if ($tab_name != '') {
$section = str_replace('_', ' ', $tab_name);
$section = ucwords($section);
- $section = ' / '.___($section).'';
+ $section = ' / '.___($section);
}
return $section;
diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php
index 4a370b4eb4..9bed24a3db 100644
--- a/pandora_console/operation/agentes/ver_agente.php
+++ b/pandora_console/operation/agentes/ver_agente.php
@@ -1498,7 +1498,13 @@ ui_print_page_header(
'',
$config['item_title_size_text'],
'',
- __('Resources').ui_print_breadcrums($tab_name)
+ ui_print_breadcrums(
+ [
+ __('Monitoring'),
+ __('View'),
+ ''.$tab_name.'',
+ ]
+ )
);