Module check force
This commit is contained in:
parent
3beec9bfab
commit
ea6aa8629b
|
@ -1279,16 +1279,18 @@ if (check_login()) {
|
|||
if ((int) $module['flag'] === 0) {
|
||||
$additionalLinkAction = '&flag=1';
|
||||
$linkCaption = __('Force checks');
|
||||
$imgaction = 'images/target.png';
|
||||
} else {
|
||||
$additionalLinkAction = '';
|
||||
$linkCaption = __('Refresh');
|
||||
$imgaction = 'images/go-back@svg.svg';
|
||||
}
|
||||
|
||||
$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(
|
||||
'images/go-back@svg.svg',
|
||||
$imgaction,
|
||||
true,
|
||||
[ 'class' => 'main_menu_icon' ]
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue