From 413528146bc4ccfffde49a1322120e560e0f15ad Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Thu, 3 Aug 2023 08:25:38 +0200 Subject: [PATCH] 9558-Fix background url html_print_autocomplete_modules() --- pandora_console/include/functions_html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 551f6812ef..8395efea56 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -5111,7 +5111,7 @@ function html_print_autocomplete_modules( ob_start(); $text_color = ''; - $module_icon = 'images/search_module.png'; + $module_icon = is_metaconsole() === false ? 'images/search_module.png' : '../../images/search_module.png'; if ($config['style'] === 'pandora_black' && is_metaconsole() === false) { $text_color = 'color: white'; $module_icon = 'images/brick.menu.png'; @@ -5126,7 +5126,7 @@ function html_print_autocomplete_modules( 100, false, '', - ['style' => 'background: url('.$module_icon.') 95% right; '.$text_color.''] + ['style' => 'background: url('.$module_icon.') no-repeat content-box; background-position: center right 5px; '.$text_color.''] ); html_print_input_hidden($name.'_hidden', $id_agent_module);