From 3499965f80f09b794746581e67f2e1fb02cf1dca Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 21 Dec 2023 16:15:01 +0100 Subject: [PATCH] #12599 change icon about --- pandora_console/include/functions_menu.php | 39 ++-------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/pandora_console/include/functions_menu.php b/pandora_console/include/functions_menu.php index 06ad796ea9..da0a6f035e 100644 --- a/pandora_console/include/functions_menu.php +++ b/pandora_console/include/functions_menu.php @@ -1290,42 +1290,7 @@ if (is_ajax()) { $lts_name = ' '.$config['lts_name'].''; } - $image_about = ui_get_full_url('/images/custom_logo/logo-default-pandorafms.png', false, false, false); - if (enterprise_installed() === false) { - if ($config['style'] === 'pandora_black') { - $image_about = 'images/custom_logo/'.HEADER_LOGO_BLACK_CLASSIC; - } else if ($config['style'] === 'pandora') { - $image_about = 'images/custom_logo/'.HEADER_LOGO_DEFAULT_CLASSIC; - } - } else { - if ($config['style'] === 'pandora_black' && $config['custom_logo'] === HEADER_LOGO_DEFAULT_CLASSIC) { - $config['custom_logo'] = HEADER_LOGO_BLACK_CLASSIC; - } else if ($config['style'] === 'pandora' && $config['custom_logo'] === HEADER_LOGO_BLACK_CLASSIC) { - $config['custom_logo'] = HEADER_LOGO_DEFAULT_CLASSIC; - } - - $image_about = 'images/custom_logo/'.$config['custom_logo']; - - if (file_exists(ENTERPRISE_DIR.'/'.$image_about) === true) { - $image_about = ENTERPRISE_DIR.'/'.$image_about; - } - } - - if (is_metaconsole() === true) { - $image_about = ui_get_full_url('/enterprise/images/custom_logo/pandoraFMS_metaconsole_full.svg', false, false, false); - - if ($config['meta_custom_logo'] === 'pandoraFMS_metaconsole_full.svg') { - $image_about = 'images/custom_logo/'.$config['meta_custom_logo']; - } else { - $image_about = '../images/custom_logo/'.$config['meta_custom_logo']; - } - - if (file_exists(ENTERPRISE_DIR.'/'.$image_about) === true) { - $image_about = $image_about; - } - } - - + $image_about = ui_get_full_url('/images/custom_logo/logo-default-pandorafms-collapsed.svg', false, false, false); $dialog = '