From d7fb3c937d0534899d3368906e9574faada56430 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 11 Mar 2024 16:58:42 +0100 Subject: [PATCH] #12997 remove skins section --- pandora_console/godmode/menu.php | 2 -- pandora_console/include/functions_menu.php | 2 -- pandora_console/include/functions_themes.php | 4 ++++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index dc75260465..fb45a451ce 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -517,8 +517,6 @@ if ($access_console_node === true) { $sub['godmode/setup/license']['text'] = __('License'); $sub['godmode/setup/license']['id'] = 'license'; - enterprise_hook('skins_submenu'); - enterprise_hook('translate_string_submenu'); $menu_godmode['gsetup']['sub'] = $sub; diff --git a/pandora_console/include/functions_menu.php b/pandora_console/include/functions_menu.php index 9e2824f9e4..5294fc534a 100644 --- a/pandora_console/include/functions_menu.php +++ b/pandora_console/include/functions_menu.php @@ -64,8 +64,6 @@ function menu_print_menu(&$menu) $sec2 = 'godmode/alerts/alert_actions'; } else if ($sec2 === 'godmode/alerts/configure_alert_command') { $sec2 = 'godmode/alerts/alert_commands'; - } else if ($sec2 === 'enterprise/godmode/setup/edit_skin') { - $sec2 = 'enterprise/godmode/setup/setup_skins'; } else if ($sec2 === 'operation/agentes/networkmap.dinamic') { $sec2 = 'operation/agentes/pandora_networkmap'; } else if ($sec2 === 'godmode/gis_maps/configure_gis_map') { diff --git a/pandora_console/include/functions_themes.php b/pandora_console/include/functions_themes.php index 5191b3675b..80b4245e16 100644 --- a/pandora_console/include/functions_themes.php +++ b/pandora_console/include/functions_themes.php @@ -47,6 +47,10 @@ function themes_get_css($path=false) continue; } + if ($file === 'pandoraitsm.css') { + continue; + } + // Skip '..' and '.' entries and files not ended in '.css'. if ($path && ($file == '.' || $file == '..' || strtolower(substr($file, (strlen($file) - 4))) !== '.css')) { continue;