This commit is contained in:
fbsanchez 2021-09-30 19:10:45 +02:00
parent 9dff230b65
commit d322d23203
1 changed files with 14 additions and 0 deletions

View File

@ -1533,6 +1533,11 @@ if ($url_route_analyzer) {
}
}
$ncm_tab = enterprise_hook('networkconfigmanager_console_tab');
if ($ncm_tab === ENTERPRISE_NOT_HOOK) {
$ncm_tab = '';
}
// GIS tab.
$gistab = [];
if ($config['activate_gis']) {
@ -1770,6 +1775,7 @@ $onheader = [
'wux_console' => $wux_console_tab,
'url_route_analyzer' => $url_route_analyzer_tab,
'sap_view' => $saptab,
'ncm_view' => $ncm_tab,
'external_tools' => $external_tools,
];
@ -1941,6 +1947,10 @@ switch ($tab) {
$tab_name = 'SAP View';
break;
case 'ncm':
$tab_name = 'Network configuration';
break;
case 'external_tools':
$tab_name = 'External Tools';
break;
@ -2069,6 +2079,10 @@ switch ($tab) {
include 'general/sap_view.php';
break;
case 'ncm':
enterprise_hook('ncm_agent_tab', [$id_agente, false]);
break;
case 'external_tools':
include 'external_tools.php';
break;