9558-Fix background url html_print_autocomplete_modules()
This commit is contained in:
parent
ab0fda5a5d
commit
413528146b
|
@ -5111,7 +5111,7 @@ function html_print_autocomplete_modules(
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
$text_color = '';
|
$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) {
|
if ($config['style'] === 'pandora_black' && is_metaconsole() === false) {
|
||||||
$text_color = 'color: white';
|
$text_color = 'color: white';
|
||||||
$module_icon = 'images/brick.menu.png';
|
$module_icon = 'images/brick.menu.png';
|
||||||
|
@ -5126,7 +5126,7 @@ function html_print_autocomplete_modules(
|
||||||
100,
|
100,
|
||||||
false,
|
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);
|
html_print_input_hidden($name.'_hidden', $id_agent_module);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue