mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added unknown status image
Former-commit-id: 1b7da57a8f3f409902053a9e5c05edeb28b67033
This commit is contained in:
parent
98a9c62de9
commit
8b5744a6c1
@ -108,6 +108,12 @@ if (!$modules || !$searchModules) {
|
|||||||
__('WARNING').': '.modules_get_last_value($module['id_agente_modulo']),
|
__('WARNING').': '.modules_get_last_value($module['id_agente_modulo']),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
} else if ($status_sql['estado'] == 3) {
|
||||||
|
$statusCell = ui_print_status_image(
|
||||||
|
STATUS_MODULE_UNKNOWN,
|
||||||
|
__('UNKNOWN').': '.modules_get_last_value($module['id_agente_modulo']),
|
||||||
|
true
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
$last_status = modules_get_agentmodule_last_status($module['id_agente_modulo']);
|
$last_status = modules_get_agentmodule_last_status($module['id_agente_modulo']);
|
||||||
switch ($last_status) {
|
switch ($last_status) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user