mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed a minor sintax error - #3611
Former-commit-id: 75ba583e8d060887c80eb32fd648157d2c4428bd
This commit is contained in:
parent
e6fa42ddca
commit
b6e8578d1d
@ -489,39 +489,38 @@ if (enterprise_installed()) {
|
|||||||
$table_adv_remote = '<div class="label_select"><p class="input_label">'.__('Remote configuration').': </p>';
|
$table_adv_remote = '<div class="label_select"><p class="input_label">'.__('Remote configuration').': </p>';
|
||||||
|
|
||||||
if (!$new_agent && isset($filename) && file_exists($filename['md5'])) {
|
if (!$new_agent && isset($filename) && file_exists($filename['md5'])) {
|
||||||
$table_adv_remote .= date('F d Y H:i:s', fileatime($filename['md5']));
|
$table_adv_remote .= date('F d Y H:i:s', fileatime($filename['md5']));
|
||||||
// Delete remote configuration
|
// Delete remote configuration
|
||||||
$table_adv_remote .= '<a href="index.php?'.'sec=gagente&'.'sec2=godmode/agentes/configurar_agente&'.'tab=main&'.'disk_conf_delete=1&'.'id_agente='.$id_agente.'">';
|
$table_adv_remote .= '<a href="index.php?'.'sec=gagente&'.'sec2=godmode/agentes/configurar_agente&'.'tab=main&'.'disk_conf_delete=1&'.'id_agente='.$id_agente.'">';
|
||||||
$table_adv_remote .= html_print_image(
|
$table_adv_remote .= html_print_image(
|
||||||
'images/cross.png',
|
'images/cross.png',
|
||||||
true,
|
true,
|
||||||
[
|
[
|
||||||
'title' => __('Delete remote configuration file'),
|
'title' => __('Delete remote configuration file'),
|
||||||
'style' => 'vertical-align: middle;',
|
'style' => 'vertical-align: middle;',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
$table_adv_remote .= '</a>'.ui_print_help_tip(
|
$table_adv_remote .= '</a>'.ui_print_help_tip(
|
||||||
__('Delete this conf file implies that for restore you must reactive remote config in the local agent.'),
|
__('Delete this conf file implies that for restore you must reactive remote config in the local agent.'),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$table_adv_remote .= '<em>'.__('Not available').'</em>';
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
$table_adv_remote .= '<em>'.__('Not available').'</em>';
|
|
||||||
}
|
|
||||||
|
|
||||||
$table_adv_remote .= '</div>';
|
$table_adv_remote .= '</div>';
|
||||||
|
|
||||||
$cps_array[-1] = __('Disabled');
|
$cps_array[-1] = __('Disabled');
|
||||||
if ($cps > 0) {
|
if ($cps > 0) {
|
||||||
$cps_array[$cps] = __('Enabled');
|
$cps_array[$cps] = __('Enabled');
|
||||||
} else {
|
} else {
|
||||||
$cps_inc = 0;
|
$cps_inc = 0;
|
||||||
if ($id_agente) {
|
if ($id_agente) {
|
||||||
$cps_inc = service_agents_cps($id_agente);
|
$cps_inc = service_agents_cps($id_agente);
|
||||||
}
|
}
|
||||||
|
|
||||||
$cps_array[$cps_inc] = __('Enabled');
|
$cps_array[$cps_inc] = __('Enabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_adv_cascade = '<div class="label_select"><p class="input_label">'.__('Cascade protection services').': ';
|
$table_adv_cascade = '<div class="label_select"><p class="input_label">'.__('Cascade protection services').': ';
|
||||||
$table_adv_cascade .= ui_print_help_tip(__('Disable the alerts and events of the elements that belong to this service'), true).'</p>';
|
$table_adv_cascade .= ui_print_help_tip(__('Disable the alerts and events of the elements that belong to this service'), true).'</p>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user