mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11299 added avanced mode agent in open version
This commit is contained in:
parent
5888a26e37
commit
efc96d9661
@ -295,6 +295,7 @@ if (enterprise_installed() === true) {
|
||||
$cps_val = $cps;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Parent agents.
|
||||
$paramsParentAgent = [];
|
||||
@ -314,7 +315,6 @@ if (enterprise_installed() === true) {
|
||||
// Deletes the agent's offspring.
|
||||
$paramsParentAgent['delete_offspring_agents'] = $id_agente;
|
||||
}
|
||||
}
|
||||
|
||||
$listIcons = gis_get_array_list_icons();
|
||||
|
||||
@ -631,6 +631,8 @@ $tableAdvancedAgent->style = [];
|
||||
$tableAdvancedAgent->cellclass = [];
|
||||
$tableAdvancedAgent->colspan = [];
|
||||
$tableAdvancedAgent->rowspan = [];
|
||||
|
||||
if (enterprise_installed() === true) {
|
||||
// Secondary groups.
|
||||
$tableAdvancedAgent->data['secondary_groups'][] = html_print_label_input_block(
|
||||
__('Secondary groups'),
|
||||
@ -640,6 +642,7 @@ $tableAdvancedAgent->data['secondary_groups'][] = html_print_label_input_block(
|
||||
['selected_post' => $secondary_groups]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Parent agent.
|
||||
$tableAdvancedAgent->data['parent_agent'][] = html_print_label_input_block(
|
||||
@ -903,7 +906,6 @@ $tableAdvancedAgent->data['safe_operation'][] = html_print_label_input_block(
|
||||
)
|
||||
);
|
||||
|
||||
if (enterprise_installed() === true) {
|
||||
ui_toggle(
|
||||
html_print_table($tableAdvancedAgent, true),
|
||||
'<span class="subsection_header_title">'.__('Advanced options').'</span>',
|
||||
@ -914,7 +916,6 @@ if (enterprise_installed() === true) {
|
||||
'white_box_content',
|
||||
'no-border white_table_graph'
|
||||
);
|
||||
}
|
||||
|
||||
// Custom fields.
|
||||
$customOutputData = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user