mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Merge branch 'ent-12175-fallo-visual-vista-tactica-eventos-recuperados' into 'develop'
Ent 12175 fallo visual vista tactica eventos recuperados See merge request artica/pandorafms!6617
This commit is contained in:
commit
c91d76706a
@ -2617,7 +2617,6 @@ function events_print_type_img(
|
|||||||
$urlImage = ui_get_full_url(false);
|
$urlImage = ui_get_full_url(false);
|
||||||
$icon = '';
|
$icon = '';
|
||||||
$style = 'main_menu_icon';
|
$style = 'main_menu_icon';
|
||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'alert_recovered':
|
case 'alert_recovered':
|
||||||
$icon = 'images/alert_recovered@svg.svg';
|
$icon = 'images/alert_recovered@svg.svg';
|
||||||
@ -2683,16 +2682,6 @@ function events_print_type_img(
|
|||||||
if ($only_url) {
|
if ($only_url) {
|
||||||
$output = $urlImage.'/'.$icon;
|
$output = $urlImage.'/'.$icon;
|
||||||
} else {
|
} else {
|
||||||
/*
|
|
||||||
$output .= html_print_div(
|
|
||||||
[
|
|
||||||
'title' => events_print_type_description($type, true),
|
|
||||||
'class' => $style,
|
|
||||||
'style' => ((empty($icon) === false) ? 'background-image: url('.$icon.'); background-repeat: no-repeat;' : ''),
|
|
||||||
],
|
|
||||||
true
|
|
||||||
);
|
|
||||||
*/
|
|
||||||
$output .= html_print_image(
|
$output .= html_print_image(
|
||||||
$icon,
|
$icon,
|
||||||
true,
|
true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user