From 1d9bf2a1d550fe5b82d8a06914f6fd93f4fb3a72 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Thu, 19 Jan 2017 12:35:59 +0100 Subject: [PATCH] UX console in progress... (ux console v1.0) --- pandora_console/operation/agentes/ver_agente.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index da23b601dd..8b7593aa2e 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1051,6 +1051,11 @@ $policyTab = enterprise_hook('policy_tab'); if ($policyTab == -1) $policyTab = ""; +/* UX Console */ +$ux_console_tab = enterprise_hook('ux_console_tab'); +if ($ux_console_tab == -1) + $ux_console_tab = ""; + /* GIS tab */ $gistab=""; @@ -1181,7 +1186,8 @@ $onheader = array('manage' => $managetab, 'gis' => $gistab, 'custom' => $custom_fields, 'graphs' => $graphs, - 'policy' => $policyTab); + 'policy' => $policyTab, + 'ux_console' => $ux_console_tab); //Added after it exists // If the agent has incidents associated @@ -1285,6 +1291,9 @@ switch($tab) { case "policy": $header_description = ' - ' . __('Policy'); break; + case "ux_console_tab": + $header_description = ' - ' . __('UX Console'); + break; case "incident": $header_description = ' - ' . __('Incident'); break; @@ -1334,6 +1343,9 @@ switch ($tab) { case "policy": enterprise_include ("operation/agentes/policy_view.php"); break; + case "ux_console_tab": + enterprise_include ("operation/agentes/ux_console_view.php"); + break; case "graphs"; require("operation/agentes/graphs.php"); break;