mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed visual error
This commit is contained in:
parent
0195a80b78
commit
667ccd50ce
@ -663,12 +663,17 @@ function ui_print_group_icon($id_group, $return=false, $path='groups_small', $st
|
|||||||
if (empty($icon)) {
|
if (empty($icon)) {
|
||||||
$output .= '<span title="'.groups_get_name($id_group, true).'"> </span>';
|
$output .= '<span title="'.groups_get_name($id_group, true).'"> </span>';
|
||||||
} else {
|
} else {
|
||||||
|
$class = 'bot';
|
||||||
|
if ($icon === 'transmit') {
|
||||||
|
$class .= ' invert_filter';
|
||||||
|
}
|
||||||
|
|
||||||
$output .= html_print_image(
|
$output .= html_print_image(
|
||||||
'images/'.$path.'/'.$icon.'.png',
|
'images/'.$path.'/'.$icon.'.png',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'style' => $style,
|
'style' => $style,
|
||||||
'class' => 'bot',
|
'class' => $class,
|
||||||
'alt' => groups_get_name($id_group, true),
|
'alt' => groups_get_name($id_group, true),
|
||||||
'title' => groups_get_name($id_group, true),
|
'title' => groups_get_name($id_group, true),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user