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 artica/pandorafms!5928
This commit is contained in:
commit
e285b923f6
pandora_console/godmode/agentes
|
@ -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…
Reference in New Issue