mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Module check force
This commit is contained in:
parent
3beec9bfab
commit
ea6aa8629b
@ -1279,16 +1279,18 @@ if (check_login()) {
|
|||||||
if ((int) $module['flag'] === 0) {
|
if ((int) $module['flag'] === 0) {
|
||||||
$additionalLinkAction = '&flag=1';
|
$additionalLinkAction = '&flag=1';
|
||||||
$linkCaption = __('Force checks');
|
$linkCaption = __('Force checks');
|
||||||
|
$imgaction = 'images/target.png';
|
||||||
} else {
|
} else {
|
||||||
$additionalLinkAction = '';
|
$additionalLinkAction = '';
|
||||||
$linkCaption = __('Refresh');
|
$linkCaption = __('Refresh');
|
||||||
|
$imgaction = 'images/go-back@svg.svg';
|
||||||
}
|
}
|
||||||
|
|
||||||
$moduleActionButtons[] = html_print_anchor(
|
$moduleActionButtons[] = html_print_anchor(
|
||||||
[
|
[
|
||||||
'href' => 'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$addedLinkParams.'"',
|
'href' => 'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$additionalLinkAction.'"',
|
||||||
'content' => html_print_image(
|
'content' => html_print_image(
|
||||||
'images/go-back@svg.svg',
|
$imgaction,
|
||||||
true,
|
true,
|
||||||
[ 'class' => 'main_menu_icon' ]
|
[ 'class' => 'main_menu_icon' ]
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user