From 63fb20ed95b7747c0168dbeda2e20b6f19c477b3 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 9 May 2016 13:05:53 +0200 Subject: [PATCH] Added subtabs for the ehorus tab --- .../operation/agentes/ver_agente.php | 47 ++++++++++++------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 2a9ea2ad42..601ff02901 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -928,28 +928,39 @@ if (enterprise_installed() && $config['log_collector']) { if ($config['ehorus_enabled'] && !empty($config['ehorus_custom_field'])) { $ehorus_agent_id = agents_get_agent_custom_field($id_agente, $config['ehorus_custom_field']); if (!empty($ehorus_agent_id)) { - $ehorus_tab['text'] = '' + $tab_url = 'index.php?sec=estado&sec2=operation/agentes/ver_agente&tab=ehorus&id_agente='.$id_agente; + $ehorus_tab['text'] = '' . html_print_image ('images/operation.png', true, array ( 'title' => __('eHorus'))) . ''; // Hidden subtab layer - // $ehorus_tab['sub_menu'] = ''; + $ehorus_tab['sub_menu'] = ''; $ehorus_tab['active'] = $tab == 'ehorus'; }