Added section to agent tabs

This commit is contained in:
Arturo Gonzalez 2017-09-08 09:01:58 +02:00
parent 3d2948d7eb
commit 2bb5c1e3b3
1 changed files with 13 additions and 2 deletions

View File

@ -1055,6 +1055,13 @@ if($modules_wux){
$wux_console_tab = "";
}
$url_route_analyzer = enterprise_hook('get_url_route_analyzer_modules', array($id_agente));
if ($url_route_analyzer) {
$url_route_analyzer_tab = enterprise_hook('url_route_analyzer_tab');
if ($url_route_analyzer_tab == -1)
$url_route_analyzer_tab = "";
}
/* GIS tab */
$gistab="";
if ($config['activate_gis']) {
@ -1186,7 +1193,8 @@ $onheader = array('manage' => $managetab,
'graphs' => $graphs,
'policy' => $policyTab,
'ux_console' => $ux_console_tab,
'wux_console' => $wux_console_tab);
'wux_console' => $wux_console_tab,
'url_route_analyzer' => $url_route_analyzer_tab);
//Added after it exists
// If the agent has incidents associated
@ -1307,7 +1315,10 @@ switch ($tab) {
enterprise_include ("operation/agentes/ux_console_view.php");
break;
case "wux_console_tab":
enterprise_include ("operation/agentes/wux_console_view.php");
enterprise_include ("operation/agentes/wux_console_vpiew.php");
break;
case "url_route_analyzer_tab":
enterprise_include ("operation/agentes/url_route_analyzer.php");
break;
case "graphs";
require("operation/agentes/graphs.php");