mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added module interval control and percentage checkbox
This commit is contained in:
parent
a38503491a
commit
66c4087679
@ -14,6 +14,7 @@
|
|||||||
enterprise_include_once('include/functions_policies.php');
|
enterprise_include_once('include/functions_policies.php');
|
||||||
enterprise_include_once('godmode/agentes/module_manager_editor_prediction.php');
|
enterprise_include_once('godmode/agentes/module_manager_editor_prediction.php');
|
||||||
require_once 'include/functions_agents.php';
|
require_once 'include/functions_agents.php';
|
||||||
|
ui_require_jquery_file('validate');
|
||||||
|
|
||||||
$disabledBecauseInPolicy = false;
|
$disabledBecauseInPolicy = false;
|
||||||
$disabledTextBecauseInPolicy = '';
|
$disabledTextBecauseInPolicy = '';
|
||||||
@ -71,12 +72,15 @@ if ($row !== false && is_array($row)) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case MODULE_PREDICTION_TRENDING:
|
case MODULE_PREDICTION_TRENDING:
|
||||||
$selected = 'module_selected';
|
|
||||||
case MODULE_PREDICTION_MODULE:
|
|
||||||
$selected = 'trending_selected';
|
$selected = 'trending_selected';
|
||||||
$prediction_module = $custom_integer_1;
|
$prediction_module = $custom_integer_1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MODULE_PREDICTION_MODULE:
|
||||||
|
$selected = 'module_selected';
|
||||||
|
$prediction_module = $custom_integer_1;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
$prediction_module = $custom_integer_1;
|
$prediction_module = $custom_integer_1;
|
||||||
@ -201,6 +205,17 @@ if ($synthetic_module_form !== ENTERPRISE_NOT_HOOK) {
|
|||||||
push_table_simple($data, 'synthetic_module');
|
push_table_simple($data, 'synthetic_module');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$trending_module_form = enterprise_hook('get_trending_module_form', [$custom_string_1]);
|
||||||
|
if ($trending_module_form !== ENTERPRISE_NOT_HOOK) {
|
||||||
|
$data = [];
|
||||||
|
$data[0] = '';
|
||||||
|
$data[1] .= $trending_module_form;
|
||||||
|
|
||||||
|
push_table_simple($data, 'trending_module');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Netflow modules are an Enterprise feature.
|
// Netflow modules are an Enterprise feature.
|
||||||
$netflow_module_form = enterprise_hook('get_netflow_module_form', [$custom_integer_1]);
|
$netflow_module_form = enterprise_hook('get_netflow_module_form', [$custom_integer_1]);
|
||||||
if ($netflow_module_form !== ENTERPRISE_NOT_HOOK) {
|
if ($netflow_module_form !== ENTERPRISE_NOT_HOOK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user