Merge branch 'ent-11299-advanced-options-de-configuracion-de-agente-no-aparece-en-community' into 'develop'

Ent 11299 advanced options de configuracion de agente no aparece en community

See merge request 
This commit is contained in:
Diego Muñoz-Reja 2023-05-29 09:15:57 +00:00
commit e285b923f6
1 changed files with 39 additions and 38 deletions
pandora_console/godmode/agentes

View File

@ -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 = '';